Info

This question is closed. Reopen it to edit or answer.

what does the below code mean

1 view (last 30 days)
Mallikarjuna
Mallikarjuna on 21 Sep 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (1)

Daniel Shub
Daniel Shub on 21 Sep 2012
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 Comments
Wayne King
Wayne King on 21 Sep 2012
If Daniel answered your question, you should accept his answer.

This question is closed.

Community Treasure Hunt

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

Start Hunting!