|
hi,
I would like to display the input channels on the bottom of a subsystem block so I try to modify the port position of this block , but at any attempt I get an error message saying:
'
ModelReference block parameter 'PortConnectivity' is read-only
'
This is the list of command that I used
"
portData = get_param('ModelName/MySubsystemBlockName','PortConnectivity');
portData(1).Position = [newXValue newYValue];
set_param('ModelName/MySubsystemBlockName','PortConnectivity',portData);
"
Does anyone have any ideas for how I can put the input ports on more than one side?
Having all my input ports on one side makes it harder to identify them
Feel free to propose a different solution
|