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

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

 Accepted Answer

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)

Categories

Find more on Block and Blockset Authoring 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!