Custom C/C++ code block in Simulink Desktop Realtime
Show older comments
Hi,
I would like to access a serial device with a certain protocol where I already have a C++ class for. Is it possible to use this code with legacy code tool in Simulink Desktop Realtime?
Best regards,
Constantin
Answers (1)
David Fink
on 28 Sep 2017
0 votes
Yes, this is possible. See the following page for an example:
Please note the limitations of the legacy function tool:
Categories
Find more on Model Preparation for Real-Time Simulation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!