Extracting Simulink Data to C-Library during runtime (Book suggestion?)
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello Everybody, I work on a satellite attitude control system simulator using Simulink. For visualization purposes, I want to extract attitude data from the simulator to a C-Library during runtime. Another program would use this data to visualize the satellite during its flight around Earth.
I haven't worked on syncing MatLab with another program before, so I don't really have a thorough understanding of what I am talking about.
Does anybody have suggestions on how to tackle this problem? Any good books describing this kind of problem?
Thanks for any input!
Answers (1)
Kaustubha Govind
on 8 Feb 2011
0 votes
You could use the MATLAB Engine API to call into MATLAB from an external C-library: Calling MATLAB Software from C/C++ and Fortran Programs
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!