Simulink : Get handle of a Matlab-Function block, inside Matlab-Function itself
2 次查看(过去 30 天)
显示 更早的评论
Hello,
Is there a way to get handle of a Matlab-Function Simulink block inside of the Matlab-Function itself?
Thanks!
0 个评论
采纳的回答
Fangjun Jiang
2020-2-20
I would think so, just try handle=get_param(Block,'handle') where "Block" is the full path of the MATLAB function block in your Simulink model.
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!