How to call a property?

조회 수: 2 (최근 30일)
Fred
Fred 2013년 7월 18일
Hi, I am relatively new in MATLAb so sorry if my question is very simple: in my workspace they are some variables which are 1*1 but they have cube on their icon and when you open them they are more variables in them (called property). How can I call one of these properties and define it as a new variable?
My variable is named "fit" (output of arima function) and I want to call Variance
Thanks

채택된 답변

Evan
Evan 2013년 7월 18일
편집: Evan 2013년 7월 18일
Does the following work?
newVar = fit.Variance;
  댓글 수: 2
Fred
Fred 2013년 7월 18일
Yes Thanks
Evan
Evan 2013년 7월 18일
No problem. :)

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

추가 답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by