what does the below code mean

I am looking at a code which has the following lines of code.
global ALM;
ALM.static_rows = 10;
what does ALM.static_rows mean?
can a global variable be used like that? please explain

답변 (1개)

Daniel Shub
Daniel Shub 2012년 9월 21일

0 개 추천

ALM.static_rows most likely means that ALM is a structure
doc struct
It could also be a custom class, but that is unlikely given the use of global.

댓글 수: 2

Mallikarjuna
Mallikarjuna 2012년 9월 21일
thanks a lot.
Wayne King
Wayne King 2012년 9월 21일
If Daniel answered your question, you should accept his answer.

이 질문은 마감되었습니다.

질문:

2012년 9월 21일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by