Programatic access to Matlab Function block port parameters
1 次查看(过去 30 天)
显示 更早的评论
For a Simulink model, I have a need for programatic access to port parameters on the MATLAB Function user defined function block. But, no combination of get_param() or get() functions is working for me. The same calls I can make to system ports directly is not working; for instance (referring to the attachment), the Size (PortDimensions) is showing -1 for get(Handles(2),'PortDimensions'), even though the Name ('U') and other parameters is correct. Please help; thanks.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!