How to add inport blocks of subsystem if know only subsystem input 's dimensions?
1 view (last 30 days)
Show older comments
Hi bros
As you know, we can get dimension of block as following
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/720464/image.png)
>> evalin('base', [ 'untitled' '([],[],[],''compile'')'])
>> ph = get_param(gcb,'PortHandles')
>> dim = get_param(ph.Outport,'CompiledPortDimensions')
dim =
-2 4 1 2 1 1 3 4 5 6 5 2 3 4 5 6
>> evalin('base', [ 'untitled' '([],[],[],''term'')'])
dim is dimensions of Bus Creator block and input subsystem block.
But in the opposite way, I have only subsystem block and dimension. How to add blocks for satification subsystem block.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/720469/image.png)
Do you have idea? please support me.
Thank you so much
0 Comments
Answers (0)
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!