im trying to find a way if my variable 'answer' (which is a cell) is blank/empty, how to stop the script.
I initially tried:
answer variable is:
error:

 Respuesta aceptada

Ronald Godagandeni Dewage
Ronald Godagandeni Dewage el 11 de Feb. de 2021
Editada: Voss el 14 de Dic. de 2023
i think the found the answer its;
if isempty(answer)
return
end
let me know if anyone got better abetter idea

Más respuestas (0)

Categorías

Más información sobre Programming 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!

Translated by