How to create test point automatically

조회 수: 1 (최근 30일)
Alikouider
Alikouider 2022년 5월 11일
댓글: Pat Canny 2022년 5월 12일
Hello everyone,
I would like to create test points automatically and to rename my signal name automatically into exported global
How can I do it, please?
I have tried by this way...but it didn't work
clc;
portHandles = get_param('my_model/F01_pip/F02_pap/F03_poum,'portHandles');
outportHandle = portHandles.Outport;
set_param(outportHandle,'TestPoint','on')
display('Done, have a good day!');
Thanks for your understanding
  댓글 수: 1
Pat Canny
Pat Canny 2022년 5월 12일
Could you provide a bit more detail on what didn't work? Did you encounter an error?
I assume you are following the steps from this article in Documentation, correct?

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

답변 (0개)

카테고리

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

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by