i want to create a error msage.
1 view (last 30 days)
Show older comments
I want to run a program where a excel file will be taken as input and i want that if the excel file is not find there should be an error msg. how can i create that type of error msg box. please help me. thank you in advance..
0 Comments
Accepted Answer
Chirag Gupta
on 13 Jul 2011
if (~exist(filename,'file'))
msgbox('File Not found','Error','Error');
end
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!