Why do my Simulink panels partially hide and rearrange themselves?

17 visualizaciones (últimos 30 días)
Jack
Jack el 2 de Nov. de 2023
Comentada: Jack el 23 de Nov. de 2023
Hello there.
After creating a panel in Simulink and populating it with dashboard blocks, the layout looks as though it is not scaling properly when it is opened in a new window - blocks move position and change size randomly. I have noticed that placing custom labels/annotations within the panel has an effect on the block layout when opened as a new window, so I have removed these but I would ideally like to keep them in.
Also, I can also only see a small portion of the panel when it is floating above my Simulink model, meaning I have to enter edit mode to see the entire thing. As a consequence of this, I can only interact with the panel when it is open in a new window, at which point the layout has changed itself. Is there any way to fix this?
Please see the attached images for reference. Also note that I am no graphic designer :)
Thanks in advance.

Respuesta aceptada

Jaynik
Jaynik el 17 de Nov. de 2023
Hi Jack,
I understand that you are facing issues in panels in Simulink like only small portion of the panel is visible and scaling issues on placing custom labels.
I have encountered the same issues on my system as well. It appears that these issues are typically caused by a "High DPI" error on Windows. They occur when the Windows Font Scaling (Text Size) or Display Scale is set to a value higher than 100%. However, by simply exiting MATLAB, adjusting the value back to 100%, and restarting MATLAB, the mentioned issues can be resolved.
Hope this helps!
  1 comentario
Jack
Jack el 23 de Nov. de 2023
Hi there,
Thanks very much for your help, I ended up changing the matlab.exe properties so that it would scale itself instead of following the system setting, which worked perfectly. I'll share the guide I followed in case anyone else has this problem in the future and doesn't want to change the system setting everytime they want to use MATLAB: https://superuser.com/questions/1190895/is-it-possible-to-scale-specific-apps-on-windows-10

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interactive Model Editing en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by