openfig cannot display figure in Matlab Mobile

I started a for loop to open multiple '.fig' files like this:
for i = 1: 10
FigName = '/xxxxx/yyyy' + List(i) + '.fig'
FigName = char(FigName)
openfig(FigName)
end
it shows like this:
ans =
Figure (1) with properties:
......
BUT NO IMAGES!
I'm doing this on ipad, wish someone to help me!
Thanks!!

2 comentarios

Sylvia Chiu
Sylvia Chiu el 26 de Mayo de 2021
Plus, openfig(FigName) works in the command window.
Sylvia Chiu
Sylvia Chiu el 26 de Mayo de 2021
I guess it's because the openfig function needs some time to load figures, but loops excuted too fast in this case.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Mayo de 2021

Comentada:

el 26 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by