this video is pure gold friend, you don't know how difficult it is to find this method to use arduino with simulink, unlike using the library that already incorporates matlab/simulink (they limit you a lot)
@suytryky49549 жыл бұрын
I try to build and everything is ok but this message appear when i run on external: The call to realtime_make_rtw_hook, during the after_make hook generated the following error: The build failed with the following message:
@apoorvsingh71344 жыл бұрын
I need some help with downloading the Simulink generated code and then compiling it using Atmel studio. Can you please help me with such application.
@bryanjhamilbascopeapaza88396 жыл бұрын
hi i have a question, Is it possible to implement the SoftwareSerial library in the simulink support package for arduino hardware?
@ivansotelo22768 жыл бұрын
Do we need to use simulink to add libraries? I wan to use them for the GUI interface
@joaovitorandradelesse19558 жыл бұрын
What if my library has multiple functions, do i need to create a S-function for each function? and what about SPI devices? in my case i need to control 3 Stepper Motor with Sparkfun Autodriver Stepper Motor Driver with SPI interface, will it be difficult?
@imedbenfraj996710 жыл бұрын
HI,How to integrate the interface NI cDAC-9184 Libraries with Matlab Simulink?
@siemenssimulink10 жыл бұрын
hi:) well, if you want to connect to NI stuff I would propose you this Labview module: sine.ni.com/nips/cds/view/p/lang/no/nid/209835 but if you have C/C++ library, I think there shouldn't be any problem to integrate it with Arduino. Unfortunately, I'm not an expert in Labview & NI.
@imedbenfraj996710 жыл бұрын
thx a lot :) but i need to load NI cDAQ 9184 is library in matlab
@imedbenfraj996710 жыл бұрын
siemens simulink thx a lot :) but i need to load NI cDAQ 9184 is library in matlab
@abbe10293 жыл бұрын
Hi, does this method still work for newer versions of Matlab?
@pereiramattar9 жыл бұрын
Hello, I am trying to integrate the Max 6675 library but its not working... :( Its possible to use this library on matlab? can you help me with this library?
@bob382468 жыл бұрын
how did you get the C++ source file from arduino? mine comes out as cpp
@thomasbenninger9526 жыл бұрын
hello if i am trying to use the delay function of arduino within the s function nothing happens. Any idea what i am doing wrong?
@vitaliykozlov49779 жыл бұрын
Is it possible to do the same thing with a Matlab script? I'm attempting to integrate the LidarLite library into Matlab
@พงศกรกวีสุนทรเสนาะ10 жыл бұрын
Hi i have file .cpp and .h and i try follow you process but i have error this D:\MATLAB~2\BIN\MEX.PL: Error: No compiler options file could be found to compile source code. Please run "mex -setup" to rectify. thanks
@พงศกรกวีสุนทรเสนาะ10 жыл бұрын
when i Build S-Function Builder
@siemenssimulink10 жыл бұрын
พงศกร กวีสุนทรเสนาะ hi :) hmmm have you installed Microsoft Studio 2010/2013?
@ahmetnezirhancer646 жыл бұрын
The Arduino source 'Ultrasonic/Ultrasonic.h' for libraries 'JRodrigoTech/HCSR04' cannot be found. Install the 3P library source first and try again.
@ahmetnezirhancer646 жыл бұрын
How do I get rid of this wrong ??
@Gabriel0989876 жыл бұрын
You must install/register the add ons of ultrasonic HCSR04 first, you can download it at the get add ons on Matlab. Then restart the Matlab it would be automatically install the add ons
@cryppsomar87718 жыл бұрын
I had a problem when installing the Arduino support package the error says Error installing third party software adafruit motor shield v2 Library Do you have any idea how i can solve this problem ?
@moran13799 жыл бұрын
HI Can I integrate DS18B20 sensor? help me, please.
@mokujin65079 жыл бұрын
thanks for the tutorial it good... btw if i had a project from arduino and want to integrate with simulink can it be done? in my case: i want to control pitch of a wind turbine control system is using rpm as input, and simulink block as "logic" (also using arduino write servo block) now the input (RPM counter) code is using arduino program. because i can't find any code using simulink... can I run the arduino code as 'input' to simulink program, so i can control pitch control externally? thank you very much.... :)
@szabogergely432310 жыл бұрын
Hi! It is possible to integrate LiquidCrystal_I2C library?
@mohammedalsaeedi94173 жыл бұрын
I am doing the same thing at the moment so could you do it? or did you find another way? hhhhh i know you posted this before 6 years but maybe you would be able to remember
@Somyafabsomcartney8 жыл бұрын
hey, thanks for the tutorial. i just want to do a basic read operation using my Arduino Uno. So, i am trying to read my potentiometer input on simulink using three blocks 1. Analog Input 2. XY Graph 3. Clock but the XY graph doesn't read anything. So what should i do? Do i need these IDEs or is there something wrong with my block parameter settings.? could you please work it out and try to help me with this. Looking forward to your reply. thanks :)
@engineermahmoud40174 жыл бұрын
how to change the frequency to 30khz ?
@dede41298 жыл бұрын
Hi, thank you for your video. Can I ask you, if it is possible to do similar with the Stepper? I have 2560 Mega, MotorShield R3, Stepper and I want to run it with Simulink. With Arduino it works. Thanks for advices.
@eduardares67455 жыл бұрын
I have the same problem! Did you solve it? Thank u a lot!
@MartiinCarrillo8 жыл бұрын
Hello! First, thank you for the tutorial. I am in real need to integrate Arduino Libraries in Simulink I have one question, do you think it is possible to integrate the Arduino SD Library in Simulink?
@kevinboone50153 жыл бұрын
i know Im kind of randomly asking but does anybody know of a good place to watch new tv shows online?
@deckernickolas17743 жыл бұрын
@Kevin Boone lately I have been using flixzone. You can find it on google =)
@angeljax2963 жыл бұрын
@Decker Nickolas Yup, have been using flixzone for since april myself =)
@kevinboone50153 жыл бұрын
@Decker Nickolas Thank you, I went there and it seems to work :) Appreciate it!!
@deckernickolas17743 жыл бұрын
@Kevin Boone glad I could help :)
@Tonioilbiondo10 жыл бұрын
and if it were possible I can flash the Arduino?
@siemenssimulink10 жыл бұрын
you mean download the program to Arduino ? yes, it's possible
@Tonioilbiondo10 жыл бұрын
siemens simulink and what shall i do? I would be use NRF24 library
@siemenssimulink10 жыл бұрын
well, you have to prepare S-Function for NRF24 in the same way as in the movie, but in the last point select Normal Mode (instead of External) and click Tools > Run on Target Hardware > Run. should work :)
@jochakrit26011 жыл бұрын
its can be work with i2c libraries?
@siemenssimulink11 жыл бұрын
I think it's possible, there is library Wire Library (www.arduino.cc/en/Reference/Wire) and it needs just right configuration. Give me some time and I will try to check it and then I will give you full answer :)
@bamen211 жыл бұрын
Yes it works.. I've used a magnetometer which is I2C based
@jochakrit26010 жыл бұрын
Arjuna Mendis May I see your method, thx a lot.
@MohamedAdelMetallized10 жыл бұрын
siemens simulink From where did you learn about Arduino to Simulink S-block compiler ? is there any book or video ? Arjuna Mendis yes please could you show your method .
@siemenssimulink10 жыл бұрын
MOODY METALLIZED well, mainly I found information here: www.mathworks.se/hardware-support/arduino-simulink.html but there are much more e.g. www.mathworks.com/matlabcentral/fileexchange/39354-device-driver . About I2C you can find some information here: How to connect Arduino with IO Expander (PCF8574) using Matlab Simulink?
@ahmetyuksel13508 жыл бұрын
ı want to change arduino pwm freqaucny in MATLAB SIMULINK, how to do this, thank you a lot..
@silentehacker009 жыл бұрын
great job, i tried to use the function Serial.parseInt() in the output ; after the compiling i have this error "regulation_wrapper.cpp:54: undefined reference to `Stream::parseInt()'" please could you help me :)
@chiorrimd9 жыл бұрын
Inittialy, very thanks for your tutorial. My problem : I'm trying to use matlab 2013b with simulink and chinese hardware for stepper motor (28BY-J48 with ULN2003).But when I upload v1_motor.pde inside arduino there is an compilation error on arduino because my hardware is adafruit motor hardware. How I solve this problem ?Thanks
@siemenssimulink9 жыл бұрын
+marco chiorri Could you paste some log of the wrong compilation?
@chiorrimd9 жыл бұрын
+siemens simulink Hi, ASA I send you all informations about this problem.Thanks for your regard!
@chiorrimd9 жыл бұрын
+marco chiorriAfter I upload adioes.pde inside arduino all is OK.Here is the message of matlab2013b when I interfaced arduino : a=arduino('COM4') Attempting connection ............. Analog & Digital I/O + Encoders + Servos (adioes.pde) sketch detected ! Arduino successfully connected ! But when I upload v2_motor.pde inside arduino of the same arduino IDE there is this error of compilation: "C:\Users\pcESCRITORIO\Documents\MATLAB\ArduinoIO\pde\motor_v2\motor_v2.pde:62:34: fatal error: Adafruit_MotorShield.h: No such file or directory #include ^compilation terminated. exit status 1 Erro compilando. " Very thanks!
@Fabian14d8 жыл бұрын
+marco chiorri me too, how to fix that?
@Cristian-qq8qm2 жыл бұрын
@@siemenssimulink hey bro, what is it for "define Arduino 100" ?
@Tonioilbiondo10 жыл бұрын
HI Can I integrate RH NRF24 library? thank's
@siemenssimulink10 жыл бұрын
yup I think it shouldn't be any problem. see my movie: How to connect Arduino with IO Expander (PCF8574) using Matlab Simulink? It is about I2C but it can be helpful either with SPI