Model Info in Matlab 2023b Simulink does not start displaying from top

4 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Rahul
Rahul il 4 Mar 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!
  1 Commento
Christian
Christian il 5 Mar 2025
Hi, yes, that works but we use that as a changelog so it increases in length on a weekly basis, it's not maintainable to keep expanding to fit all content.
Is there no fix for this?

Accedi per commentare.

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by