How can I handle Diagnostic error in script???

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 个)

类别

帮助中心File Exchange 中查找有关 Results, Reporting, and Test File Management 的更多信息

产品

版本

R2019b

提问:

2021-9-14

Community Treasure Hunt

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

Start Hunting!

Translated by