Has installed the arduino package for matlab, but I still can not use the function of 'arduino'

Hi, all.
I was trying to connect the arduino DUE board to matlab for real time ploting. but I do not know why I can not use the arduino function after installing the support package. I was trying to type 'which arduino -all' to find it. But it showed me 'arduino' was nor found.

댓글 수: 3

Hi! I am having a similar problem. I've installed the arduino package through matlab (add-on >> get hardware support packaged and then installed all 3 packages available). I can connect to arduino:
but it does not recognize the commands. I'd tried pinMode() or digitalWrite().
I tried to use the link fom Abhishek GS and copy the folders to matlab path as zyselvis done but still not working. A
Anyone knows why?
Thank you
Yes, that's the reason! Thank you Walter!

댓글을 달려면 로그인하십시오.

 채택된 답변

Hi zyselvis,
Can you confirm if you have downloaded the right " MATLAB Support Package for Arduino Hardware " from this location ?
Alternately, you can also download the MATLAB Support package from your MATLAB Command prompt by typing 'supportPackageInstaller', choose 'Install from Internet' option and then choosing the MATLAB Support Package under Arduino option.
You may already know this, but stating it again. MATLAB Support Package is different from Simulink Support Package for Arduino. The 'arduino' function is a part of MATLAB Support Package for Arduino and not Simulink Support Package.
Cheers, Abhishek

댓글 수: 1

Thank you. I was using add-ons, but actually we have to download and put all files in the matlab path folder. And it works now.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

질문:

2015년 4월 6일

댓글:

2015년 12월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by