MATLAB deploy command error

10 ビュー (過去 30 日間)
Sanchit Jain
Sanchit Jain 2021 年 11 月 5 日
コメント済み: Sanchit Jain 2021 年 11 月 7 日
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.
  1 件のコメント
Sanchit Jain
Sanchit Jain 2021 年 11 月 7 日
still getting the same error.

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

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by