Rank: 12 based on 2811 downloads (last 30 days) and 7 files submitted
photo

MathWorks Classroom Resources Team

E-mail
Company/University
The MathWorks, Inc.

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by MathWorks Classroom Resources Team View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
05 Sep 2014 MATLAB Support for Arduino (aka ArduinoIO Package) MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board Author: MathWorks Classroom Resources Team support package, arduino, duemilanove, uno, motor shield, hardware interface 2630 91
  • 4.3
4.3 | 32 ratings
09 May 2014 NI ELVIS II Power Supply, Function Generator, Digital Multimeter Support MATLAB library that extends support for communicating with a NI ELVIS II prototyping platform Author: MathWorks Classroom Resources Team support package, elvis, ni, elvis ii, elvis 2, data acquisition tool... 29 0
01 Mar 2012 Screenshot Embedded Coder Support Package for Beagle Board Simulink block library for creating standalone applications for the Beagle Board Author: MathWorks Classroom Resources Team beagleboard, beagle board, support package 35 18
13 Sep 2011 MATLAB Support Package for Vernier SensorDAQ MATLAB library for reading Vernier sensors using SensorDAQ hardware Author: MathWorks Classroom Resources Team support package, vernier, sensordaq, vernier sensordaq, vernier sensors, data acquisition tool... 31 2
22 Aug 2011 Screenshot MATLAB Support Package for Parallax BASIC Stamp MATLAB library for communicating with a BASIC Stamp 2 and Board of Education (BoE) kit Author: MathWorks Classroom Resources Team support package, parallax, basic stamp, basic stamp 2, basic stamp discovery..., bs2 29 1
Comments and Ratings by MathWorks Classroom Resources Team View all
Updated File Comments Rating
30 Jul 2014 Arduino IO package: Slides and Examples Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". Author: Giampiero Campa

Hi Sina,
have a look at the section of the readme.txt file that concerns customizing the package. The bottom line is that you will have to rewrite parts of the sketch running on the arduino and maybe slightly modify the arduino.m class file.

Hope that helps.

02 Jun 2013 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

Hi Glen, there are several RasPi drivers, i believe with external libraries too, linked in the Acknowledgement section of this page.

I (Giampiero) would suggest trying them first to see if you can make them work, if so, start from them to see if you can build your driver. That being said i'll investigate further this case to see if anyone has any idea.

29 Apr 2013 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

Nathan, if you include a .cpp file then you should rename the generated wrapper function from .c to .cpp, and also open it and write: ' extern "C" ' before the two function calls.

Please have a look at page 20 of the guide, which explains how to do this, and let me know if it works.

15 Mar 2013 Arduino IO package: Slides and Examples Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". Author: Giampiero Campa

Hi Patricia and everybody else. If you get the timeout error one thing i would suggest is to go into the arduino.m
file, find these lines:

fprintf(1,'Attempting connection .');
for i=1:12,
pause(1);
fprintf(1,'.');
end

and increase that 12 up to 15 or more until it works. Another suggestion
is using the adiosrv.pde file instead of motorsrv.pde or srv.pde.

03 Apr 2012 MATLAB Support for Arduino (aka ArduinoIO Package) MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board Author: MathWorks Classroom Resources Team

General guidelines

* Please use this FileExchange page for general comments and ratings on the support package

* If you have questions about using this support package, post your question at http://www.mathworks.com/matlabcentral/answers (with tag "arduino", and product "matlab")

Comments and Ratings on MathWorks Classroom Resources Team's Files View all
Updated File Comment by Comments Rating
17 Oct 2014 MATLAB Support for Arduino (aka ArduinoIO Package) MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board Author: MathWorks Classroom Resources Team Flo20

When I try to find the arduino on the serial port with:

a = arduino('COM 5', 'uno')

I get the following message.

Unable to load a message catalog 'MATLAB:arduinoio:general'. Please check the file location and format.

I already reinstalled matlab and all the packages, but still the same issue occurs.

Anyone with a solution?

Thanks in advance!

12 Oct 2014 MATLAB Support Package for Vernier SensorDAQ MATLAB library for reading Vernier sensors using SensorDAQ hardware Author: MathWorks Classroom Resources Team Akina

Hi,

I was wondering if you could fix the problems you had with matlab-sensorDAQ; I'm in the process of purchasing a hand dynamometer/interface that're compatible with matlab, and looking into the option with Vernier. Let me know if you've found any solutions!

Thanks,

10 Oct 2014 MATLAB Support for Arduino (aka ArduinoIO Package) MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board Author: MathWorks Classroom Resources Team Isa

Hi, I was wondering if the Arduino IO package also allows me to use a Arduino library such as AccelStepper? If so do I have to take care of anyting special while installing Arduino IO, for example a special pde file? Thanks in advancefor your help!

04 Sep 2014 MATLAB Support for Arduino (aka ArduinoIO Package) MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board Author: MathWorks Classroom Resources Team wayan

need help..

Error evaluating registered method 'Start' of MATLAB S-Function 'msfun_arduino_io_setup' in 'library_test/Arduino IO Setup'. The following is the MATLAB call stack (file names and line numbers) that produced this error:
['D:\Documents\Arduino\ArduinoIO\arduino.m'] [104]
['D:\Documents\Arduino\ArduinoIO\simulink\msfun_arduino_io_setup.m'] [76]

Caused by:
Connection unsuccessful, please make sure that the board is powered on, running a sketch provided with the package, and connected to the indicated serial port. You might also try to unplug and re-plug the USB cable before attempting a reconnection.

01 Sep 2014 MATLAB Support Package for Vernier SensorDAQ MATLAB library for reading Vernier sensors using SensorDAQ hardware Author: MathWorks Classroom Resources Team Redondo, Francisco

Hello,

I am currently trying to collect data from Vernier hand dynamometer using sensor DAQ and Matlab R2013b.
I have two problems:
- Matlab does not recognize input channel "_sensor0_5V" as a valid channel for using the ch1 of SensorDAQ.
- I can't be able to measure in background with MATLAB with 'ai0' or 'i1' channels. I want to measure continuously.

This Support Package for Vernier SensorDAQ is very useful, but I have the above mentioned problems.

Thanks

Contact us