How to use the exist feature with an if statement?
24 views (last 30 days)
Show older comments
Arvind Ganesh
on 24 Apr 2019
Answered: Fangjun Jiang
on 24 Apr 2019
exist varname gives valid output. But if(exist varname) throws an error as "Unexpected matlab expression". How to fix this?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Argument Definitions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!