struct - Need to format fieldname of structure in MATLAB -


I have the field name in which for matlab structure (.)

when I create the structure , Invalid field name error

such as

  areaname = 'frak .01'   

structure

 < Code> S. (FieldName) = 25;    

You can use to change an invalid name such as 'Freq.01' is something that is valid name (this is only available in relatively recent versions of MATLAB.)

In older versions of MATLAB, you can use.

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - Textbox not clickable but editable -

Matlab transpose a table vector -