Respondida
Error: Arduino IDE at folder 'arduino-1.8.1' is corrupt...
Have you tried reinstalling the support package with administrator access? To do this right click on MATLAB icon and select Run ...

más de 5 años hace | 0

Respondida
How do I download the library for the HC-SR04 ultrasonic sensor into MATLAB?
Try downloading from inside Add-On explorer. To do this - 1) Click on Add-Ons > Get Add-Ons from MATLAB toolstrip. 2) Searc...

más de 5 años hace | 1

Respondida
why do i keep getting the arduino Uno detected message saying it is ready for support package i have the package installed but it keeps stopping my code
I guess what Walter is saying is that you are not using the MATLAB Support package for Arduino when you use Connect_Arduino comm...

más de 5 años hace | 0

Respondida
Arduino Engineering Kit encoders return incorrect readings
So when you are going through steps shown in the online material, what happens if you try to do open loop control again and meas...

más de 5 años hace | 0

| aceptada

Respondida
Error while deploying the Simulink model to Arduino
This error happens if the algorithm cannot be fit inside the Arduino memory. if merely deploying the code throws this error, I r...

más de 5 años hace | 2

| aceptada

Respondida
How to add system date & time in x axis of a plot, corresponding to a real-time measurement
You can add system date using datetime and datetick. In the example below, I executed datetime(now) at different times which wou...

más de 5 años hace | 0

| aceptada

Respondida
how can use more than 1 integrator in simulink for arduino support package?
Can you post the actual error message, type of Arduino and the version of MATLAB you are using? That will help a lot of the expe...

más de 5 años hace | 0

Respondida
All pins reserved by servo. I cant use a DC motor at the same time.
I only have an MKR1000 at my disposal right now and here is what I tried with no error messages. See if a similar approach works...

más de 5 años hace | 0

Respondida
All pins reserved by servo. I cant use a DC motor at the same time.
Can you try configurepin command to set it as Digital Output or Digital Input depending on your application? Or does that also...

más de 5 años hace | 0

| aceptada

Respondida
Reading BNO055 on MATlab
Here is an example of how to communicate with an I2C device - https://www.mathworks.com/help/supportpkg/arduinoio/ug/measure-tem...

más de 5 años hace | 0

| aceptada

Respondida
Arduino MKR1000 + ThingSpeak Blocks
What version of MATLAB support package and Simulink Support package for Arduino are you using? And What version of MATLAB are yo...

más de 5 años hace | 1

| aceptada

Respondida
Why does Simulink scope skip data points when tuning parameters?
The data is coming over serial port and that has its own limitations. Recommendations - slower sampling time or lesser data stre...

más de 5 años hace | 0

| aceptada

Respondida
i used Run on Target Hardware to create a standalone application with Matlab Compiler. Now i want to run this application on my Raspberry pi (model 3b). what i have to write?
I thought this file might be what you are looking for - <https://www.mathworks.com/matlabcentral/fileexchange/62243-run-on-hardw...

más de 5 años hace | 0

| aceptada

Respondida
codertarget.createDriverProject('my_driver') problem
Is it possible that you are missing simulink support package for Raspberry pi as that is mentioned as one of the prerequisites a...

más de 5 años hace | 0

Respondida
Simulink Support package for arduino fails on 2018b when i try to test the connection during the setup
arduinoio.SPPKGRoot command gives the location of where arduino support package was installed. Find the base folder where the su...

más de 5 años hace | 0

Respondida
Failed to generate binary outputs when calling Simulink command with Arduino
Please uninstall both MATLAB and Simulink Support package for Arduino and then close MATLAB and reopen MATLAB as administrator b...

más de 5 años hace | 1

| aceptada

Respondida
Simulink library link not found
If you type which -all spsDieselMotorModel in MATLAB R2016b, it might say 'spsDieselMotorModel' not found. This must be part...

más de 5 años hace | 1

Respondida
IS there a double inverted pendulum on cart model available in simulink?
Here is what I found - https://www.mathworks.com/help/physmod/sm/examples/inverted-double-pendulum-on-a-sliding-cart.html

más de 5 años hace | 0

Respondida
Running Simulink Model in for loop
I think overall the concept of Model referencing might be of value to you (https://www.mathworks.com/help/simulink/model-referen...

más de 5 años hace | 0

| aceptada

Respondida
I get an error every time I try to connect simulink to the arduino motor encoder included in the engineering kit.
Use this version of the hardware support instead - https://www.mathworks.com/matlabcentral/fileexchange/68620-arduino_engineerin...

más de 5 años hace | 0

| aceptada

Respondida
I receive the following error message when trying to open the Arduino Engineering Kit library in Simulink
Thanks Nicholas for catching this bug. I did the following and fixed the errors - 1) remove the arduinosensorlib reference i...

más de 5 años hace | 0

| aceptada

Respondida
(Simulink) How can I communicate with hardware (Arduino, Raspberry Pi, I2C, etc.) in real time?
Here is my attempt to answer the questions that you have - 1) MCUs such as Arduino cannot run "hard" real-time as they do no...

más de 5 años hace | 0

Respondida
How can I change the resolution of ''Arduino 2'' from 10 to 12 bit using Matlab?
As of now there is no equivalent from MATLAB support package for Arduino. Here is what I found out for Simulink https://www.math...

más de 5 años hace | 0

| aceptada

Respondida
where is the "build" button in code generation?
I know that the naming convention changed from Build to Deploy to Hardware sometime around 15a - 17a (not sure off the top of my...

más de 5 años hace | 1

Respondida
Updating server code on board Nano3 (COM5). Please wait. How can I solve this?
Create a serial object in MATLAB for the port you are writing data to via your Arduino Sketch. Go through this list of functions...

más de 5 años hace | 0

Respondida
I couldnt install Raspberry Pi support package
If you are indeed the administrator of your computer, then you can open MATLAB with administrator access to avoid this issue. I...

más de 5 años hace | 0

Respondida
[HELP] How to pass DHT22 data from Arduino to Simulink?
Here is a link that I found - https://www.mathworks.com/matlabcentral/answers/95399-why-is-the-build-process-failing-for-a-shipp...

más de 5 años hace | 0

Respondida
How to import JRodrigoTech/HCSR04 in arduino library
1. Download the zip file from https://github.com/JRodrigoTech/Ultrasonic-HC-SR04/archive/master.zip 2. Unpackage the zip into ...

más de 5 años hace | 0

Respondida
I am officially lost with S-Function builder
The S-function builder approach is quite old and a little difficult, however if you are really set on using that here is a video...

más de 5 años hace | 1

Cargar más