MATLAB deploy command error

조회 수: 2 (최근 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 CenterFile Exchange에서 MATLAB 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