open stepfile-matlab-Not enough input arguments error?

1 view (last 30 days)
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"

Answers (1)

Walter Roberson
Walter Roberson on 28 Mar 2018
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 Comment
Walter Roberson
Walter Roberson on 28 Mar 2018
The function you have attached, importfile, must be passed the name of the file to import.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!