Borrar filtros
Borrar filtros

In Designer, when 2 mlapp files are open, I receive a Undefined function 'bringToFront' for input arguments of type 'double' error.

3 visualizaciones (últimos 30 días)
I have a GUI app that opens a seperate window with 2 separate .mlapp files, very similar to the Pass Data Between Apps example project (files MainAppExample.mlapp & DialogAppExample.mlapp).
When I have both files open and run the main app, I receive this error:
Undefined function 'bringToFront' for input arguments of type 'double'.
Error in matlab.ui.internal.controller.platformhost.CEFFigurePlatformHost/toFront (line 182)
bringToFront(this.CEF);
Error in matlab.ui.internal.controller.FigureController/toFront (line 480)
toFront(this.PlatformHost);
After debugging, I found it crashes at this line:
figure(1);
If I close the DialogAppExample.mlapp file in my project, it runs without issue. How can I solve this issue?
Also, should I be loading both .mlapp files when I open this project? I am loading them seperately because I couldn't figure out how to have them both load upon startup (similar to the example project 'Pass Data Between Apps')
  1 comentario
Walter Roberson
Walter Roberson el 18 de Nov. de 2023
The implementing code for that appears to be
toolbox/matlab/uitools/uicomponents/components/+matlab/+ui/+internal/+controller/+platformhost/CEFFigurePlatformHost.m
I will need to look at the source to see if I get any ideas.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by