user defined function blocks in simulink
1 次查看(过去 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 中查找有关 String 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!