user defined function blocks in simulink
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How to access the workspace variables in user defined function written inside the user defined function block in simulink ????
0 comentarios
Respuestas (1)
Ilham Hardy
el 19 de Abr. de 2012
Right click on the UDF block >> "Edit mask" >> Go to "Parameters" or "Initialization" tab.
HTH,
ilham
1 comentario
Kaustubha Govind
el 19 de Abr. de 2012
Essentially, you need to create a parameter for the block that can access the base workspace via the mask as Ilham suggested.
Ver también
Categorías
Más información sobre Interactive Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!