Info

この質問は閉じられています。 編集または回答するには再度開いてください。

what does the below code mean

1 回表示 (過去 30 日間)
Mallikarjuna
Mallikarjuna 2012 年 9 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 日
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.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by