Is it possible to pass MAT files as inputs to an executable generated using Real-Time Workshop Embedded Coder 5.4 (R2009b)?

2 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Mar 2023
Edited: MathWorks Support Team on 27 Mar 2023
The ability to pass MAT files as input to the executable generated by ERT Target is not available in Real-Time Workshop Embedded Coder 5.4 (R2009b).
As a workaround, you can use S-functions to read files from an external environment.
Note that it is not possible to use MAT file API inside S-functions, as mentioned in:

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2009b

Community Treasure Hunt

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

Start Hunting!