I apologize in advance for this question. I don't like "explain this code" questions, but I can't find any documentation about my specific example.
Background
My issue is this. I am trying to translate some MATLAB code to C#, but I am at the same time having to learn MATLAB. I do not work with anyone that knows MATLAB code, I have no access to MATLAB, so I can't test any of the code, and I can't find any documentation on the following question. So...
Question(s)
Is there a free online/desktop MATLAB compiler/interpreter somewhere that I can use to test out MATLAB code?
...or...
Is there someone that can explain the following code snippet:
someVar.member1=myValue1; someVar.member2=myValue2; if (myCondition) for i=1:myTotal someVar(i).member3=myValue3; end; end;
Does this make
someVar
into an array? Do I losemember1
andmember2
or does it save what I have set somehow?