Matlab2018b on Linux / figure vs uifigure
Mostrar comentarios más antiguos
Hi,
I created a data plotting class/app (based on uifigure and other ui components, not via the app designer) on a Win10 machine (ML2019b). Now when trying to run this on linux, the uifigure won't open (a regular figure() opens however).
Output:
>>fig2 = uifigure('Name','test2')
fig2 =
Figure (test2) with properties:
Number: []
Name: 'test2'
Color: [0.9400 0.9400 0.9400]
Position: [1000 918 560 420]
Units: 'pixels'
Show all properties
User abort via ctrl+C
General Error occurred
Unable to display properties for variable fig2 because it refers to a deleted object.
Can anyone help me?
Cheers,
Robert
1 comentario
Robert Schäfer
el 25 de Jun. de 2020
Respuestas (2)
Sahithi Kanumarlapudi
el 24 de Jul. de 2020
0 votos
Hi,
Figures created using 'uifigure' can be opened without any issue irrespective of the platform. You might be trying to view the figure after you have actually closed it once using the close button on the top right corner of the figure. Even the error message shows that you are trying to refer to a deleted object. Try to ensure that the handle is not deleted before you open it.
Robert Schäfer
el 24 de Jul. de 2020
0 votos
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!