TO WORKSPACE BLOCK IS NOT CREATING NEW VARIABLE TO WORKSPACE

조회 수: 35 (최근 30일)
Cyrus
Cyrus 2023년 4월 20일
댓글: Sara Nadeau 2023년 4월 24일
Hi, everyone, I am new to simulink and lately I am facing a problem with the to work space block:
I tried to do in the same way as the following tutorial on you tube: https://www.youtube.com/watch?v=PEn3SuIcsGg
but finally I don't find the corresponding new vaviable in workspace as the tutorial showed, before or after simulation, any one kindlyl help will be appreciated.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2023년 4월 20일
편집: Fangjun Jiang 2023년 4월 20일
It is saved in "out.simout", instead of "simout" if your variable name is "simout", if every other setting is by default. You are using the newer version of MATLAB/Simulink.
Double click the "To Workspace" block, click "Help" to bring up the document. There are example models there.
  댓글 수: 1
Sara Nadeau
Sara Nadeau 2023년 4월 24일
This behavior changed in R2019a, just to clarify what would constitute "newer" in this specific context.
Here's a link to the To Workspace block reference page, which includes a description and additional links related to Fangjun's answer: https://www.mathworks.com/help/simulink/slref/toworkspace.html
This is the same page that you open when you click Help from the Block Parameters dialog box for the To Workspace block.

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

카테고리

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

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by