arduino IO package simulink

14 visualizaciones (últimos 30 días)
nurul muthmainnah mohd noor
nurul muthmainnah mohd noor el 6 de Abr. de 2012
Respondida: KANAGARAJAN RAJAN el 18 de Dic. de 2016
firstly, i'm using MATLAB 2010b. so here, i want to how to install arduino IO package with arduino target?
when running the simulation, the model error is occured like this
The corresponding 'msfun_arduino_digitalwrite.tlc' file for the MATLAB S-function 'msfun_arduino_digitalwrite' in block 'blink_led_sim/Arduino Digital Write4' must be located in the current working directory, the MATLAB S-function directory 'C:\Documents and Settings\ArduinoIO\simulink', or the directory 'C:\Documents and Settings\ArduinoIO\simulink\tlc_c'
and the suggestion to generate code is using arduino target from
however i do not know how to install both, Arduino IO package with arduino target to generate code..hope you can help me as soon as possible..thank you

Respuestas (6)

Gautam Vallabha
Gautam Vallabha el 6 de Abr. de 2012
The ArduinoIO Package and the Arduino Target use different Simulink blocks, and are entirely separate implementations.
  • To use the Simulink blocks in ArduinoIO Package (which allow you to communicate with the Arduino from the host), go to the folder that contains the ArduinoIO Package files and type "install_arduino".
  • To use the Simulink blocks in Arduino Target (which allow you to generate code that runs on the Arduino), go to the folder that contains the Arduino Target files, open README.txt, and follow the instructions in the "QUICK START" section.
Both of the above modify the MATLAB path. Make sure you save your MATLAB path by typing savepath at the command line.
Note: It is possible to use both ArduinoIO blocks and Arduino Target blocks in the same model, but be careful to separate the two implementations, e.g, using variant subsystems. (Thanks to Kaustubha Govind for the observation).
  4 comentarios
Gautam Vallabha
Gautam Vallabha el 6 de Abr. de 2012
Nurul - it is possible to install both. Just make sure to follow the installation procedures for both, so that the directories for both types of blocks are on the MATLAB path. There are examples included with both ArduinoIO Package and Arduino Target; I suggest taking a look at them.
Kaustubha - You are correct; it is possible to use variant subsystems to put the two kinds of blocks in the same model. I've updated my answer to incorporate this advice.
Cristian Acosta
Cristian Acosta el 29 de Oct. de 2016
I want to know where can I find that Examples with ArduinoIO Package and Arduino Target. Thanks for your help guys.

Iniciar sesión para comentar.


fa
fa el 8 de Abr. de 2013
guys,i already install both of type simulink which is target for use arduino and arduino i.o . For use target for use arduino it not might problem but for arduino i.o give me error and error totally same with @nurul said. so what should i do.?

Rohit
Rohit el 22 de Jul. de 2013
Guys, I am also getting the same error as Nurul on Matlab2012a. If anyone has figured out the solution, please let me know. Thanks a lot Rohit

chfakht chfakht
chfakht chfakht el 13 de Feb. de 2015
same here

fahad
fahad el 3 de Oct. de 2016
Hi everybody >> till now i couldn't solve the above problem and we need Matlab crew finding a solution for this problem ... i lave alot of examples that uses ArdionoIO but i couldn't apply anyone of these examples

KANAGARAJAN RAJAN
KANAGARAJAN RAJAN el 18 de Dic. de 2016
my istallation is over but only AURUINO IO LIBRARY is only missing,what can i do?????????

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by