.: Click here to download :.
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.
It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.
We have developed a fast and optimized Matlab library to communicate with the Arduino board over a USB cable. Code results extremely efficient
and particularly suitable for further customizations.
FAQ
- Each time I try a function a pop-up window is visualized. How can I remove it? Pop-up window is present only in demo code. This is the only limitation to the demo version.
- I can't connect Arduino to my PC. I can't upload the .ino file from PC to Arduino. Why? You can check Arduino hardware version (for example Arduino UNO) and COM port. Usually COM port is wrong, in this case you have to change it. You can make these operations from Arduino Menu.
- Matlab can't connect to Arduino. Why? Also in this case probably the COM port is wrong or used by some other program. Be sure that COM port used by Arduino is the same specified in Matlab script for serial connection. Be also sure that Arduino Serial Monitor is not selected, otherwise the COM port will not be free for Matlab.
- COM connection is OK but on Arduino board I can't see anything. Why? Be sure that you have placed correctly all leds, resistors, wires,... in each .m example files you will find a detailed description of electric scheme.
- How can I obtain source code? In order to obtain source code please visit http://www.advancedsourcecode.com/matlabarduino.asp
- Code includes some .p functions. Why? Demo code is protected. If you want to edit or modify code you need source code.
- The .ino Arduino file is editable but very hard to understand. How can I modify it? The .ino file has been obfuscated. With source code you will receive a well documented version of it.
- I need a customization of existing code. How can I do it? We develop code on demand and we can easily customize existing code according to your requirements.
Index Terms: Matlab, source, code, Arduino, COM, interface, microcontroller, PC, serial, port, hardware, interfacing.
Figure 1. Arduino UNO microcontroller |
|||||||||||||||
A simple and effective source code for Matlab To Arduino Interface. |
|||||||||||||||
Release |
Date |
Major features |
|||||||||||||
1.0 |
2013.06.19 |
|
|||||||||||||
We recommend to check the secure connection to PayPal, in order to avoid any fraud. This donation has to be considered an encouragement to improve the code itself. |
|||||||||||||||
Matlab To Arduino Interface - Click here for
your donation. In order to obtain the source code you
have to pay a little sum of money: 30 EUROS (less
than 42 U.S. Dollars). |
|||||||||||||||
Once you have done this, please email us luigi.rosa@tiscali.it As soon as possible (in a few days) you will receive our new release of Matlab To Arduino Interface. Alternatively, you can bestow using our banking coordinates:
|
The authors have no relationship or partnership
with The Mathworks. All the code provided is written in Matlab
language (M-files and/or M-functions), with no dll or other
protected parts of code (P-files or executables). The code was
developed with Matlab 2006a and Arduino UNO. Matlab is required.
The code provided has to be considered "as is" and it is without any kind of warranty. The
authors deny any kind of warranty concerning the code as well
as any kind of responsibility for problems and damages which may
be caused by the use of the code itself including all parts of
the source code.