user defined function blocks in simulink
조회 수: 7 (최근 30일)
이전 댓글 표시
How to access the workspace variables in user defined function written inside the user defined function block in simulink ????
댓글 수: 0
답변 (1개)
Ilham Hardy
2012년 4월 19일
Right click on the UDF block >> "Edit mask" >> Go to "Parameters" or "Initialization" tab.
HTH,
ilham
댓글 수: 1
Kaustubha Govind
2012년 4월 19일
Essentially, you need to create a parameter for the block that can access the base workspace via the mask as Ilham suggested.
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!