setting simulink block values from command line
Mostra commenti meno recenti
Hi,
Does anyone know whether it is possible to pass a variable name to a simulink block when defining it from the command line? So in the following code:
src='built-in/Constant'; dest=strcat(systemname,'/','example'); add_block(src, dest, 'Value', '5', 'position',position)
instead of '5', i would like to pass a variable name e.g. 'a' which can later be defined in an m-script.
regards, Thijs
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Modeling in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!