필터 지우기
필터 지우기

Why MatlabWindow changes view when Matlab is fullscreen?

조회 수: 4 (최근 30일)
Mr.Alb
Mr.Alb 2022년 5월 17일
답변: Abhishek Chakram 2023년 9월 21일
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!

답변 (1개)

Abhishek Chakram
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

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by