Format position of inports and referenced subsytem naming in simulink
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ludo Houben
am 3 Jul. 2023
Kommentiert: Sahas Marwah
am 6 Jul. 2023
Hi All
I'm trying to create my own simulink blocks, and I was wondering how I can format the distance between the referenced subsystem name and the in-/output ports. See example below. When I 'shorten' the block then the naming of the inport will be clashing with the naming of the referenced subsystem name. Is it possible to set a height before the in/-outport naming is allowed to start. So eg. the first 10mm from the top. I'm asking this because I want to display subsystems as small as possible in order to get a better overview on more complex subsystems.
Could you please explain it 'for dummies' as I am a starter/learner within Simulink/MatLab and are still struggling to find things. Thank you already for any answers.
Regards,
Ludo
0 Kommentare
Akzeptierte Antwort
Sahas Marwah
am 4 Jul. 2023
Presently, there is no feature in Simulink to set a specific height before the inport/outport naming starts.
One workaround you could use if you want your blocks to be as small as possible, without the names clashing is to remove the name of the block from inside the block.
You could refer the block using the automatic names such as the "Subsystem Reference" written in Blue under the block. Automatic names only comes when you hover over the block.
4 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Subsystems finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!