Borrar filtros
Borrar filtros

user defined function blocks in simulink

1 visualización (últimos 30 días)
Sujeet Kumar Padhi
Sujeet Kumar Padhi el 19 de Abr. de 2012
How to access the workspace variables in user defined function written inside the user defined function block in simulink ????

Respuestas (1)

Ilham Hardy
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
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.

Iniciar sesión para comentar.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by