Struct contents reference from a non-struct array object `
Show older comments
I'm converting a script into function and getting the following error:
Struct contents reference from a non-struct array object.
Error in button_callback_2 (line 16)
out=cellfun(@str2num,myData.toArray.cell,'un',0)';
Error while evaluating UIControl Callback.
The class of myData is a java.util.vector
Without making function, the script does the intended work.
Accepted Answer
More Answers (0)
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!