import header files error
Show older comments
Hi, my MATLAB cannot use importfile function to import my header files. Here is the command below
Dx = importfile(hea(k).name, [16 16]);
it is showing me that error:
Error using importfile
Too many input arguments.
what can possibly be the reason to cause that error ?
3 Comments
Walter Roberson
on 23 Apr 2020
k is not a scalar so hea(k) refers to multiple locations
israa sharaby
on 23 Apr 2020
Walter Roberson
on 23 Apr 2020
importfile is generated code when you use the import tool (uiimport) and ask it to generate. The generated code depends on the kind of file that you were importing from, so the generated code does not always have the same number of parameters as it would if you had been generating for a different kind of file. You will need to examine the generated code to see what it expects.
Answers (0)
Categories
Find more on MATLAB Support Package for Raspberry Pi Hardware 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!