How can I handle Diagnostic error in script???

3 ビュー (過去 30 日間)
galaxy
galaxy 2021 年 9 月 14 日
Hi all,
I create testcases excel file from Simulink Test Manager by following command.
tf = sltest.testmanager.TestFile('exTest.mldatx');
ts = tf.getTestSuites;
tc = ts.getTestCases;
% Set up tc . . .
input = createInputDataFile(tc,'input.xlsx');
But when I use createInputDataFile function, Diagnostics put error as:
I used try - catch, but can't handle this error.
Do anyone can help me?
Thank you

回答 (0 件)

カテゴリ

Help Center および File ExchangeFunction-Based Unit Tests についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by