user defined function blocks in simulink
이전 댓글 표시
How to access the workspace variables in user defined function written inside the user defined function block in simulink ????
답변 (1개)
Ilham Hardy
2012년 4월 19일
2 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!