MATLAB Answers

run m file triggered by simulink but outside simulink

1 view (last 30 days)
joms on 7 Nov 2018
I want to run m file which is triggered by simulink model-1 output (triggered by constant=1), but i want it to run outside of simulink model-1. The m file will execute an import function from excel and transfer to workspace then simulink model-2 will be executed after worspace is generated. I've been trying to use Matlab custom function block but it gives me error , so i just want a trigger to run m file normally without using Interpreted Matlab function.

Answers (0)

Community Treasure Hunt

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

Start Hunting!