EPOS4 from Maxon Group and SimulinkCo​der/Embedd​edCoder

32 views (last 30 days)
Hi! I am using simulink to generate a control model for my motor. EPOS4 is a driver from MaxonGroup. This driver can be controlled from beaglebone black (which is a linux system) via Epos Command Library (more information about EPOSCommand Library: https://www.maxongroup.com/medias/sys_master/root/8839866482718/EPOS-Command-Library-En.pdf)
So, Epos command library can be installed in windows and linux environment as says in the document.
I want to create my Control architecture in my simulink Model and then deploy it to my beaglebone. To do this i need to integrate some C++ code with functions of epos command library in my S-fucntion block (thats the way i am trying to do, if you have any other ideia please share). However, i am facing a problem, my s-function did't recognize my Epos command library when i built it. I've tried to use addNonBuildFiles pointing to EposCmd64.dll (library for windows), but didn't work... I am thinking about the fact that i am compiling in a windows environment and deploying to a linux environment, and i don't know if this is going to be a problem, or Simulink coder dont copile files, and that is really not a problem...
Epos Command library is already installed in my beaglebone, i don't know what to do to my s-function build process recognize EPos command library functions...
Thank you for reading this!

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!