open stepfile-matlab-Not enough input arguments error?
1 次查看(过去 30 天)
显示 更早的评论
Hello. I want to open a step file in matlab. first I import data then generate function but there is "Not enough input arguments error"
0 个评论
回答(1 个)
Walter Roberson
2018-3-28
If you used the data import wizard and told it to generate code, then the code it generates has to be passed the name of a file to import.
If you used shaperead() from the Mapping toolbox, then you need to pass it the name of the file to read.
1 个评论
Walter Roberson
2018-3-28
The function you have attached, importfile, must be passed the name of the file to import.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!