How to set flags in MATLAB?
33 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How to set flags in MATLAB ,,
flag1=0;
Do this;
flag2=1;
Do this;
1 comentario
Jan
el 4 de En. de 2013
The question is not clear yet. The shown code runs without problems, but I guess you want to get a specific behavior but did not explain this.
Respuestas (2)
Muruganandham Subramanian
el 4 de En. de 2013
Editada: Muruganandham Subramanian
el 4 de En. de 2013
Do this, by if() operation
e.g.
if a==0
%do this
else if a==1
%do this
end
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!