Why do my Simulink panels partially hide and rearrange themselves?

17 次查看(过去 30 天)
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.

采纳的回答

Jaynik
Jaynik 2023-11-17
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 个评论
Jack
Jack 2023-11-23
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Model Editing 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by