open stepfile-matlab-Not enough input arguments error?

1 回表示 (過去 30 日間)
Najmeh Eskandari
Najmeh Eskandari 2018 年 3 月 28 日
コメント済み: Walter Roberson 2018 年 3 月 28 日
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"

回答 (1 件)

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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeUse COM Objects in MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by