Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Access current system in System loop

조회 수: 1 (최근 30일)
Robert
Robert 2018년 2월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
I'm using the Simulink report generator (interactively, so not programmatically) of R2016b. I'm trying to place a snapshot in my report only for certain subsystems. Therefore, I've added a Logical if within my System loop. In that if, I want to write something like
if (any(strcmp(images, CURRENT_SYSTEM_NAME)))
where 'images' is a list of strings of the subsystems of which Within the if, I will then put a System Snapshot.
So my question is, how do I access the name of the current system within my System Loop (here called CURRENT_SYSTEM_NAME)? Is there a variable I can access that does this? See the image below.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by