Filter löschen
Filter löschen

user defined function blocks in simulink

1 Ansicht (letzte 30 Tage)
Sujeet Kumar Padhi
Sujeet Kumar Padhi am 19 Apr. 2012
How to access the workspace variables in user defined function written inside the user defined function block in simulink ????

Antworten (1)

Ilham Hardy
Ilham Hardy am 19 Apr. 2012
Right click on the UDF block >> "Edit mask" >> Go to "Parameters" or "Initialization" tab.
HTH,
ilham
  1 Kommentar
Kaustubha Govind
Kaustubha Govind am 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.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by