How to call a property?

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일

1 개 추천

Does the following work?
newVar = fit.Variance;

댓글 수: 2

Fred
Fred 2013년 7월 18일
Yes Thanks
Evan
Evan 2013년 7월 18일
No problem. :)

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Stability Analysis에 대해 자세히 알아보기

제품

태그

질문:

2013년 7월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by