MATLAB: “wram30_v1​-0128.matr​ices.exMas​s = mass;” produces an unexpected Matlab expression error

field referencingnumber before field seperation characterstructures

Howdy folks,
The following expression provokes the associated error shown.
>> wram30_v1-0128.matrices.exMass = mass;
wram30_v1-0128.matrices.exMass = mass;
Error: Unexpected MATLAB expression
If the '8' is a non-numeric character, this error does not occur.
Any idea's why this is happening and how I might best deal with it?
Cheers, Seán

Best Answer

wram30_v1_0128.matrices.exMass = mass
perhaps?
In what you have now, the -0128 is subtraction.
Related Question