Programatic access to Matlab Function block port parameters
1 view (last 30 days)
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.