필터 지우기
필터 지우기

Why do some variables not appear in the workspace?

조회 수: 1 (최근 30일)
Philipp
Philipp 2013년 6월 8일
Hi,
I am currently trying to understand how to simulate ground and therefore I had a look at the minigolf example.
My Problem is that there are variables which don't appear in the workspace and I have no idea where else to look for them. Also when I type the name of the variable in the command window it says this variable does not exist.
For example in one "Constant" Block the value is the variable "plane_length". But I can't find it.
Do you know why I can't find it or do you have an idea how I could find out the value behind such variables?
I have this problem with the "Contact_Example_1_Wall". It can be found in the folder Contact_Examples.
Would be great if someone could help. This is really bugging me. Kind Regards, P.

답변 (1개)

Image Analyst
Image Analyst 2013년 6월 8일
Each function has its own workspace, and only the workspace that is in scope will appear in the workspace panel.
  댓글 수: 4
Philipp
Philipp 2013년 6월 10일
Okay, I found out now where I can look up the variables. These Variables are defined in the Mask of the Subsystem. I found them by right clicking on the subsystem and then in the mask menu.
Thank you guys for your help. I have a lot to learn :)
Walter Roberson
Walter Roberson 2013년 6월 10일
Ah, simulink...

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

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by