Height or maximum length of utilizable simulink screen R2018b

5 visualizzazioni (ultimi 30 giorni)
Hi all,
I am using R2018b. I've a very big subsystem with almost more than 1500 inports. But I am unable to add any new block after a certain limit and unable to even drag and enlarge the size of my subsystem inorder to adjust the height and give proper spacing for all the ports to connect to the subsystem. It is very annoying as I still have to add many ports.
While researching how to overcome this, I've come across an error saying "At least one value is out of range for rectangle or position. All x values must be within -32786..32767 range, all y values must be within -32786..32767 range" and understood that looks like simulink has a restriction of maximum height (of subsystem or blocks).
Is there a solution how to overcome this? I know I can add beside each other instead of one underneath the other. But on the top level of subsystem, where all Inports will be connected to subsystem, I cannot place inports side by side and connect to the subsystem. So that is not a possible solution. Ofcourse it will be all one after the other below each other. Is it may be possible to adjust or extend this height limit?
I am also pasting below my current height and width of subsystem block extracted
>> get_param(gcb, 'Position')
ans =
-32205 -31946 -31670 32566
I stil want to extend this.
Thank you in advance

Risposta accettata

Altaïr
Altaïr il 18 Mar 2025
Modificato: Altaïr il 18 Mar 2025
Hey @Priya,
In MATLAB R2018b, the limit seems to be [-32786, 32767], but in R2019a, this limit increased to [-1073740824, 1073740823]. This change can be verified in the documentation.
R2018b
R2019a
To access the Common Block Properties documentation page, use the following command:
web(fullfile(docroot, 'simulink/slref/common-block-parameters.html'))
For scenarios involving a large number of input ports, consider combining individual signals into bus signals to save space. If this workaround isn't feasible, providing more details about the use case and sharing a dummy model would be helpful. This additional information can clarify aspects such as the type of signals carried by the input ports.
Command to open Simulink Bus Signals doc page command:
web(fullfile(docroot, 'simulink/examples/simulink-bus-signals.html'))

Più risposte (0)

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by