Clear Filters
Clear Filters

How to check real-time data generated by simulink in C++

1 view (last 30 days)
Is there a way to check the real-time data generated by simulink in a C++ program or C# program?
First of all, I want to create a simulink dll and check it in a C++ program.
It is impossible to check in real time using communication such as TCP.
Since I am new to simulink, I am not sure how to approach to check data in real time using dll. Any help would be appreciated.

Answers (1)

Mark McBroom
Mark McBroom on 2 Feb 2023
External mode sounds like wha tyou are looking for. See this description of external mode using the TI C2000 Hardare Support Package.
If there is a support package for your processor, you are all set. If not, you'll have to write your own support package to obtain External Mode or use MathWorks Consulting Services to develop a support package for you.




Community Treasure Hunt

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

Start Hunting!