Simulink: Can you invert the constant block?

조회 수: 16 (최근 30일)
Luca FS
Luca FS . 2021년 9월 22일
댓글: Jonas . 2021년 9월 24일
is there a way to "invert" the constant block?
As you know, it is possible to name a variable as a value in the constant block, which is then output as a signal. Is it possible to invert this? So enter a signal and write it into the named variable in the workspace?
Thank you!

답변 (1개)

Jonas
Jonas 2021년 9월 23일
  댓글 수: 3
Jonas
Jonas 2021년 9월 24일
If you want to avoid the To Workspace block logging a lengthy array, you can put the To Workspace block inside a Triggered Subsystem and connect a 'true' to it. Then it will only save one instance of the signal.

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

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by