Is there a way to program the arduino with MATLAB code and then run the arduino without the connection to MATLAB?
이전 댓글 표시
I have been looking but have yet to see an example of the MATLAB program being uploaded into the arduino so that the arduino can act independently of the computer.
So I just want to know if MATLAB has to be connected to the arduino for the MATLAB code to work or is there a way to download the code onto the arduino so that the arduino device can be used in a mobile robot application (no computer connection)?
Thanks
답변 (6개)
Rolfe Dlugy-Hegwer
2013년 2월 11일
1 개 추천
Thanks for asking, Aidan. The Classroom Resources Team has a "MATLAB Support Package for Arduino (aka ArduinoIO Package)" at http://www.mathworks.com/matlabcentral/fileexchange/32374-matlab-support-package-for-arduino-aka-arduinoio-package.
If you have Simulink, you can also run a Simulink model on Arduino. To add this capability, enter "targetinstaller" in the MATLAB Command Window. Then follow the instructions in Support Package Installer.
Vl
2013년 1월 9일
0 개 추천
If the model includes everything for functioning then Arduino will work autonomously after building and downloading the model code to the target. For example, the model "Blink" will work.
Akarsh Sinha
2013년 3월 29일
0 개 추천
You can generate the code using Simulink though. But the only problem is you need to have 2012b or above along with .NET framework and Windows SDK(If you're working on a Windows OS) for this thing to work.
댓글 수: 1
B
2013년 5월 16일
So there's no way to use the 2012a student edition, correct?
Rolfe Dlugy-Hegwer
2013년 8월 29일
편집: Rolfe Dlugy-Hegwer
2013년 8월 29일
0 개 추천
To run Support Package Installer in MATLAB R2012a (including the Student Edition), enter "targetinstaller" With R2012a, you can install support for the following hardware:
- Arduino Mega 2560
- Arduino Uno
- BeagleBoard
- LEGO MINDSTORMS NXT
Rainer
2013년 9월 21일
0 개 추천
Just to confirm, you need simulink to be able to run the arduino board autonomously ....am I right?
댓글 수: 1
Rolfe Dlugy-Hegwer
2013년 11월 13일
Yes, that's correct as of R2013b.
Alexey D
2019년 7월 28일
0 개 추천
Hello!
Is there a way to download matlab program to arduino so that the robot could work without connection? I mean matlab, not simulink.
I have MATLAB Support Package for Arduino and Simulink pacage as well.
Thank you
댓글 수: 1
Peter
2023년 7월 5일
I am having the same question, can somebody clarify on the question above please
카테고리
도움말 센터 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!