Assigning array-type names to elements of a GUI or App
1 view (last 30 days)
How can I assign names coming from a string array to the elements of an App?
Example: I have the following string array
CBNames= ["NameCheckBox" "PhoneCheckBox" "AddressCheckBox"]
Now, when trying to change the Value property of the PhoneCheckBox in may App, I would like to refer to it as:
But when I try this I receive an error message that says:
Unrecognized method, property, or field 'CBName' for class 'MAINApp'
Is there a way to do this or is this categorically impossible in Matlab?