HOME › FORUM › Bug Reports › Error While Assigning Element Type
When I assign element type, it causes the following error:
Undefined function ‘contains’ for input arguments of type ‘char’.
Error in AssignElementType (line 80)
Error while evaluating uicontrol Callback
The contains function was introduced with Matlab R2016b. So if you are using an older version of Matlab than R2016b, you will get that error. Please upgrade to a newer version of Matlab, if possible.