Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Qiong Lin
Qiong Lin le 25 Fév 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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!

Réponses (1)

Abhishek GS
Abhishek GS le 26 Fév 2015
Hi Qiong,
Did you change any parameter in the demo model ? Can you paste the complete error message please ?

Cette question est clôturée.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by