user defined function blocks in simulink
Afficher commentaires plus anciens
How to access the workspace variables in user defined function written inside the user defined function block in simulink ????
Réponses (1)
Ilham Hardy
le 19 Avr 2012
2 votes
Right click on the UDF block >> "Edit mask" >> Go to "Parameters" or "Initialization" tab.
HTH,
ilham
1 commentaire
Kaustubha Govind
le 19 Avr 2012
Essentially, you need to create a parameter for the block that can access the base workspace via the mask as Ilham suggested.
Catégories
En savoir plus sur Interactive Model Editing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!