MATLAB Answers

Problem on simulink and arduino

1 view (last 30 days)
Hugo Merle
Hugo Merle on 26 Mar 2018
Edited: Gayatri Menon on 30 Mar 2018
Hello everone, My classmate and I are trying to run an matlab model on an arduino Mega2560. We are currently working on Matlab2016a and using Simulink librairies. It work prefectly, but Matlab seems to be blind to our Mega. We tryied to write : a = aduino('COM4','Mega2560) But all we get is :"ide.internal.getArduinoIDERootDir" Can you please give us help?
Thank So Much

Answers (1)

Gayatri Menon
Gayatri Menon on 30 Mar 2018
Edited: Gayatri Menon on 30 Mar 2018
Hi Hugo,
Could you please try reinstalling the Arduino support package.Please refer the link below that explains how to perform a clean reinstallation:

Community Treasure Hunt

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

Start Hunting!

Translated by