Error when importing data
3 views (last 30 days)
Show older comments
Shamira Sharlyne Liao
on 6 Feb 2023
Commented: Shamira Sharlyne Liao
on 6 Feb 2023
Hello, I'm trying to import an Excel file to MATLAB for school. When I go to Home -> Import Data, the following error shows up.
Execution of script uiimport as a function is not supported:
/Applications/MATLAB_R2021a.app/toolbox/matlab/codetools/uiimport.m
I'm using the latest update and I have the Statistics and Machine Learning Toolbox v.12.1 and Optimization Toolbox v.9.1 installed. This happens no matter what script or filename I use. I also ran
>> which -all uiimport
To get this output
/Applications/MATLAB_R2021a.app/toolbox/matlab/codetools/uiimport.m
Thanks in advance for the help!
0 Comments
Accepted Answer
Walter Roberson
on 6 Feb 2023
you need to reinstall matlab.
dbtype uiimport 1
should show
function varargout = uiimport(varargin)
but on your system it will show something different.
More Answers (1)
See Also
Categories
Find more on Data Import from MATLAB 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!