How do I instruct Simulink to output data to a text file?

5 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Sep 2009
Simulink can output to a text file, but you need to create a C-MEX S-Function to instruct it to do this. Files are available for download using the links below, mult234.mdl, sfun_mult234_2.c, and sfun_mult234_2.dll, demonstrating one way to accomplish this.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!