C++ S-Function with LEGO Mindstorms NXT
2 views (last 30 days)
Show older comments
Dear,
I'm familiar with S-Function, C and C++. But I'm having trouble with the LEGO Mindstorms NXT. In the past I wrote a couple of S-Function for the Arduino Mega (As a Simulink Hardware Target), where I was able to use C++ Libraries within my S-Function by using 'Extern "C" ...'
But when I try the same for LEGO Mindstorms NXT, it never recognizes my C++ libraries and returns a 'function not found' error.
I use the mex command to generate the mex-file, without errors. I am using a wrapper, and a tlc to inline my S-Function. But when I build my Simulink model it ignores the C++ code and throws and error.
Is it possible to use C++ in an S-Function with Simulink on a LEGO Mindstorms NXT?
Kind regards, Frederic Depuydt
0 Comments
Answers (0)
See Also
Categories
Find more on ROS Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!