M file and S function block
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Apurv
il 9 Gen 2014
Commentato: Kaustubha Govind
il 13 Mar 2014
Hey, Is it possible to code a M file from which we can call an S function block??? If yes then, what is the command for it? How can i also give inputs through the m file for the S function block???
0 Commenti
Risposta accettata
David Sanchez
il 9 Gen 2014
You can call your model containing your S-function block from a script (m-file) using the
find_system('Name','your_model');
open_system('yourmodel');
You can set parameters on your model with
set_param();
take a look at
doc set_param
for all the options
0 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Prepare Model Inputs and Outputs in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!