How to use the exist feature with an if statement?
Show older comments
exist varname gives valid output. But if(exist varname) throws an error as "Unexpected matlab expression". How to fix this?
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands 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!