0

I would like to create an enum to store all strings and then access to then from other files the objective is to centralize all strings in one function

is there a way to create an enum with MATLAB ?

Thanks

lola
  • 5,649
  • 11
  • 49
  • 61
  • A cell array of strings might achieve what you want. Can you give an example of how you want to use this 'enum'? – Dan Sep 29 '14 at 08:02
  • Otherwise http://www.mathworks.com/help/matlab/matlab_oop/enumerations.html as the accepted answer in that previous question is out of date – Dan Sep 29 '14 at 08:43

0 Answers0