Borrar filtros
Borrar filtros

Why MatlabWindow changes view when Matlab is fullscreen?

4 visualizaciones (últimos 30 días)
Mr.Alb
Mr.Alb el 17 de Mayo de 2022
Respondida: Abhishek Chakram el 21 de Sept. de 2023
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!

Respuestas (1)

Abhishek Chakram
Abhishek Chakram el 21 de Sept. de 2023
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

Categorías

Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by