How can I handle Diagnostic error in script???
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Function-Based Unit Tests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!