Is it possible to run a .m file continuosly by changing the input parameters?

1 Ansicht (letzte 30 Tage)
I am having a function in .m file. But the input to this function comes from a simulink block. I passed the input into workspace. But how to run the file continously with changing inputs. I tried using matlab function block but it shows a lot of errors. Is there any method, other than using a matlab function block,to call a function inside a simulink model.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 30 Sep. 2013
Matlab function block doesn't allow all matlab function. You can use Interpreted Matlab Function
  3 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 30 Sep. 2013
Yes. click on the blue link above to read the help

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by