필터 지우기
필터 지우기

coverage report command error info

조회 수: 2 (최근 30일)
Troy Vie
Troy Vie 2014년 11월 21일
댓글: Troy Vie 2014년 11월 21일
I wrote a script to run simulink model and generate the coverage report into .html files (name as: TC1.html, TC2.html, TC3.html...). This script works fine in my laptop.
Because I want to run a lot of experiment, I move related models in HPC and run the script again. This time I got an error message:
Error in Expr_cr (line 41)
cvhtml(sprintf('TC%i',i),cvdo);
The complete code section is:
for i =1:20
in = Inputs(i,:);
cvto = cvtest('model_a');
cvdo = cvsim(cvto);
cvhtml(sprintf('TC%i',i),cvdo);
end
Actually the line of cvhtml... is only to generate the html file and name them in sequence: like TC1, TC2, TC3....TC20.
Any suggestino about this error message?
thanks in advance.
  댓글 수: 1
Troy Vie
Troy Vie 2014년 11월 21일
By the way, the script should generate 20 .html files and then finished. Now just generate TC1.html and stopped.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by