MATLAB deploy command error

2 次查看(过去 30 天)
Sanchit Jain
Sanchit Jain 2021-11-5
I am trying to deploy the MATLAB function to Raspberry pi to run servo motors but it is showing some error. 'Check for missing argument or incorrect argument data type in call to function 'codegen'.'
I have tried to run the same function directly to raspberry pi and its working fine, but I want to use it as a deploy command codegen.
Please see the screenshot for better overview of the code and problem.

回答(1 个)

Walter Roberson
Walter Roberson 2021-11-5
You should be giving the function name, not the file name. So no '.m' on it.

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by