What are VideoReader error identifiers

4 ビュー (過去 30 日間)
Thomas
Thomas 2015 年 3 月 30 日
回答済み: Thomas 2015 年 3 月 30 日
Hello, I am getting a report that this error is occasionally reported by my standalone GUI
I have a decent understanding as to why, so that is not the question. However I am not sure how to catch this error to handle it, since I have no access to the flawed avi.
Is this the correct way to catch it
catch ME
if strcmpi(ME.identifier, 'MATLAB:VideoReader:codecnotfound')
or is it something else than 'MATLAB:VideoReader:codecnotfound' ? Code in videoReader doesnt explicitly state what the error's identifier is
*I am using matlab r2013a

採用された回答

Thomas
Thomas 2015 年 3 月 30 日
was 'MATLAB:audiovideo:VideoReader:UnknownCodec'
nvm ^^

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScope Variables and Generate Names についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by