필터 지우기
필터 지우기

matlab windows (desktop basics)

조회 수: 3 (최근 30일)
Osama Alkurdi
Osama Alkurdi 2020년 2월 8일
댓글: Osama Alkurdi 2020년 2월 9일
is the window below in the picture the "base workspace"?
and if yes what is the variables that could be stored in it?
Capture.png

답변 (1개)

Walter Roberson
Walter Roberson 2020년 2월 8일
In context it probably is the base workspace. Any variable can be stored there. Any time you are not executing inside any function then any assignment goes into the base workspace by default, and you can use assignin('base') to deliberately assign into it.
  댓글 수: 5
Osama Alkurdi
Osama Alkurdi 2020년 2월 9일
@Steven Lord
thank you, that's help me very much
Osama Alkurdi
Osama Alkurdi 2020년 2월 9일
@Walter Roberson
OK, I finally get it
But, I have one more question
if the variables in nested function can be used by the parent function (if the nested function has been executed first of course)
and if the variables in parent function can be used by the nested function (if the variables defined before calling that nested function of course)
so, what is the use from global defined variables?

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

카테고리

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

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by