Does Matlab enforce some sort of order of executions for fread statements?
For example, if we did: fread(fid,1,'int8')*3 + fread(fid,1,'uint8')*4
Would the 'int8' read always execute before the 'uint8'?
I would have no reason to expect this, and it seems like either this should be the case, or this should show an mlint warning.
No products are associated with this question.
In the documentation I find:
Operator precedence ... Within each precedence level, operators have equal precedence and are evaluated from left to right.
This means, that the left FREAD is performed at first ever.
Play games and win prizes!Learn more