How can I run Specific M-Script in each timestep of SIMULINK Model Simulation.
Show older comments
I tried to use MATLAB Function block, but its shows code generation error in simulation.
3 Comments
Shashank
on 18 Sep 2017
Post the error message you see.
Purusothaman Ganapathy
on 19 Sep 2017
Purusothaman Ganapathy
on 19 Sep 2017
Answers (1)
Suze Zhang
on 21 Sep 2017
0 votes
Hi Purusothaman,
It seems that function "evalin" is not supported for code generation in MATLAB Function block. Please refer to the link below for a list of functions and objects that are supported for C/C++ code generation:
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!