using a variable in simulink function
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Rashmil Dahanayake
le 22 Déc 2013
Commenté : Rashmil Dahanayake
le 31 Déc 2013
I have a user defined function in simulink.
I need to use a global variable from simulink work space. How can access the simulink local worksspace, for the usage of simulink user defined function
2 commentaires
Réponse acceptée
Kaustubha Govind
le 30 Déc 2013
I'm assuming that by "User Defined Function", you actually mean the MATLAB Function block? If so, you can read a workspace variable, by passing it in as a block parameter.
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!