MATLAB Answers

Unrecognized method, property, or field 'value' for class

104 views (last 30 days)
Hi everyone,
I am trying to use a switch in Matlab app designer for a uit converter. However when I code the program to change the items in a drop down menu to change when the switch is flipped, i get this message: 'Unrecognized method, property, or field 'value' for class.' I'm not really sure what this means or how to solve it. I have attatched my code file if you would like to look at it and help me out.
thanks in advance!

  0 Comments

Sign in to comment.

Accepted Answer

Mohammad Sami
Mohammad Sami on 5 May 2020
You are using smaller case for value on line 37. just change to upper case as follows.
conversionvalue = app.conversiontypeDropDown.Value;

  1 Comment

Ashwin Palanisamy
Ashwin Palanisamy on 5 May 2020
Ah I understand now. I changed the value and I am no longer getting that error. However, when I flip the switch the drop box doesnt change. Could you please have a look at it and tell me where I am gong wrong?
thank you.

Sign in to comment.

More Answers (0)