S funtion block inputs
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hallo, I am simulating a S function block which contains several libraries. I want to input several variables to this s function block (about 30). Most of these variables need to be initialized and some of them need to be used as step inputs. For variables that need to be initialised (about 25), which is the best way to input these variables? Is it possible to use an array as an input? Are there any other ways possible? These variables are of different datatypes. I am using Simulink 2010b 32 bit Thank you and have a nice day, Apurv Koregave
0 commentaires
Réponses (1)
Kaustubha Govind
le 13 Mar 2014
If the (25 or so) variables do not change during run-time, you might want to make them parameters of the S-function.
0 commentaires
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!