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.

Antworten (1)

Walter Roberson
Walter Roberson am 5 Nov. 2021

0 Stimmen

You should be giving the function name, not the file name. So no '.m' on it.

Kategorien

Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Gefragt:

am 5 Nov. 2021

Kommentiert:

am 7 Nov. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by