simple example:
-------------------
>> segments = 5;
>> p_i(1:segments+1)= 0
p_i =
0 0 0 0 0 0
BUT
>> segments = 5;
>> global p_i(1:segments+1)= 0
parse error:
syntax error
>>> global p_i(1:segments+1)= 0
^
-----------------------------------
if the characters spacing is messed up, it's pointing to the (
Is that supposed to happen? I didn't think a global designation was supposed to change anything with syntax. bug?