How to set flags in MATLAB?
显示 更早的评论
How to set flags in MATLAB ,,
flag1=0;
Do this;
flag2=1;
Do this;
1 个评论
Jan
2013-1-4
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.
回答(2 个)
Muruganandham Subramanian
2013-1-4
编辑:Muruganandham Subramanian
2013-1-4
Do this, by if() operation
e.g.
if a==0
%do this
else if a==1
%do this
end
类别
在 帮助中心 和 File Exchange 中查找有关 Source Control 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!