user defined function blocks in simulink
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How to access the workspace variables in user defined function written inside the user defined function block in simulink ????
0 Commenti
Risposte (1)
Ilham Hardy
il 19 Apr 2012
Right click on the UDF block >> "Edit mask" >> Go to "Parameters" or "Initialization" tab.
HTH,
ilham
1 Commento
Kaustubha Govind
il 19 Apr 2012
Essentially, you need to create a parameter for the block that can access the base workspace via the mask as Ilham suggested.
Vedere anche
Categorie
Scopri di più su Interactive Model Editing 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!