Model Info in Matlab 2023b Simulink does not start displaying from top
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jumped from Matlab 2019b to 2023b and now the model info block doesnt work as expected
See screenshot below
The first row says
"This row should be at the top"
And we expect that it is what you see in the preview box in yellow.

0 Kommentare
Antworten (1)
Rahul
am 4 Mär. 2025
I understand that you are experiencing unexpected behavior with the sequencing of text lines inside a 'Model Info' block when transitioning from MATLAB R2019b to R2023b.
The text wrapping property of the 'Model Info' allows displaying of only the text that is in the middle of the input text parameter section of any of the properties within the block mask.
When text overflow occurs, meaning the text lines exceed the dimensions of the 'Model Info' block, Simulink wraps the additional text that is outside the boundary of the block, starting from the center of the input text.
This causes the center of the block mask to align with the center of the text content specified in the 'Created' property tab within the block parameters. As a result, only the central portion of the input text, both vertically and horizontally, will be visible.
A potential workaround for this issue is to increase the length or dimensions of the block, particularly along the axis where new lines are added. This would allow the block to accommodate and display the currently overflowing text within its mask.
Hope this helped!
2 Kommentare
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing 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!