Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

undefined function or variable "scomp" when deploy to the hardware for Arduino Mega 2560

조회 수: 2 (최근 30일)
Qiong Lin
Qiong Lin 2015년 2월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
I follow the instruction on the MATLAB website - Drive with PID Control on an Arduino Mega 2560, I simulate the closed loop PID control on the Simulink successfully. But when I click to Deploy to the Hardware, it failed and gave the error message - undefined function or variable "scomp". I googled the word "scomp". There is not relevant result and I really cannot figure out the problem. Thank you for the help!

답변 (1개)

Abhishek GS
Abhishek GS 2015년 2월 26일
Hi Qiong,
Did you change any parameter in the demo model ? Can you paste the complete error message please ?

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by