How to conjugate simulink model and script ?

2 visualizzazioni (ultimi 30 giorni)
Mateusz
Mateusz il 17 Set 2014
Risposto: Marco il 8 Nov 2014
How can I run a simulation in conjugation with script ( m-file)? I would like to build simulation model similar to this one:

Risposte (2)

Mateusz
Mateusz il 19 Set 2014
I know that I can run script in simulink by adding it: File/Model Properties/Callbacks -> InitFcn (script name in blank space).
It is not working like in this model:

Marco
Marco il 8 Nov 2014
I have the same problem - to run one or more scripts (not functions) and to use the created variables for the simulation, without doing it manually.
Is there somebody who can do it? Thanks

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by