Try/Catch problems with MATLAB 2013

1 回表示 (過去 30 日間)
Debbie
Debbie 2013 年 11 月 29 日
回答済み: Image Analyst 2013 年 11 月 29 日
I'm trying to execute a script that was written for Matlab 2011 with a try/catch structure in Matlab 2014. However, whenever I execute the script, it jumps straight to the 'catch' within the function. I tried running each of the lines individually in the beginning of the 'try' portion of the script, and haven't run into any problems. Furthermore, there aren't any errors with any of the script that results in a catch, it just skips the 'try' portion completely. Has anyone else run into this problem? If so, do you have any suggestions for how to overcome this issue?

回答 (1 件)

Image Analyst
Image Analyst 2013 年 11 月 29 日
MATLAB 2014? I think you mean R2013a or R2013b because I don't think the beta for R2014a is out yet.
At what point does it jump to the catch? At the try line? Can we try it? Attach it with the paper clip icon if you want anyone to try it. It's hard to guess at what we can't see.

カテゴリ

Help Center および File ExchangeTiming and presenting 2D and 3D stimuli についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by