Why MatlabWindow changes view when Matlab is fullscreen?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi everyone,
I'm wondering why MatlabWindow opens as application other than Matlab main app(v. R2022a). It's especially annoying when I'm in fullscreen mode, because every callback functions (uifigure) I open changes the view to taht of my PC home. Then when I go back to the Matlab fullscreen app I see the uifigure at the top, but it requires me to move between windows, which is really annoying indeed.
I am trying to find a way to get uifigure to open in the same way that normal figures do when working in full screen (e.g. when you plot something, the new figure opens on top without throwing you to homescreen).
I don't know if also you face this issue. Please, let me know if it's clear what I mean. Thank you!
댓글 수: 0
답변 (1개)
Abhishek Chakram
2023년 9월 21일
Hi Mr.Alb.
It is my understanding that you want to dock the figure windows that appear out of the view into the main MATLAB window pragmatically. You can set the “Window Style” property of the figure to ‘Docked’.
Here is an example for the same:
fig = figure;
set(fig,'WindowStyle','docked');
Best Regards,
Abhishek Chakram
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!