Réponse apportée
How to interface MATLAB with Dynamixel motors through Arduino?
There are guides on this page that shows how to create custom add-ons based on existing libraries - https://www.mathworks.com/he...

presque 6 ans il y a | 0

Réponse apportée
How to save voltage data as a array in Matlab, using a Arduino MEGA 2560 board?
Let's say you know how long of a vector you need, then use indexing. Example - for i = 1:100 data(i) = readVoltage(a,'A9');...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Arduino Due error in Matlab
Try the following and post any error messages that you get - a = arduino('COM#','Due','TraceOn',true) Remember the COM# s...

presque 6 ans il y a | 2

| A accepté

Réponse apportée
encoder velocity (counts/s) remains zero in serial monitor whereas encoder position (# counts) is running properly
What version of Arduino IDE are you testing these from?

presque 6 ans il y a | 0

Réponse apportée
Can help me please ?
This video uses R2015a https://www.mathworks.com/videos/using-simulink-to-program-a-boe-bot-100740.html Remember to download...

presque 6 ans il y a | 0

Réponse apportée
Can help me please ?
Is the confusion because Deploy to Hardware button is called Build model in yours? This could be because your model is not yet c...

presque 6 ans il y a | 0

Réponse apportée
Set Arduino IDE path
To set your expectations correctly, MATLAB Support package attempts to install its own Arduino IDE which is 1.8.1 and that is th...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Installing MKRMotorCarrier and Arduino Libraries - failed Matlab Arduino package
Attempt reinstalling the MATLAB and Simulink Support Package for Arduino with MATLAB opened as administrator. You can right clic...

presque 6 ans il y a | 0

Réponse apportée
Error when use Shift register and other libraries of arduino in Matlab
shiftOut is an Arduino IDE function and there is not a one-to-one match for this function included in the default MATLAB Support...

presque 6 ans il y a | 0

Réponse apportée
The Arduino source 'HX711/HX711.h' for libraries 'ExampleAddon/HX711' cannot be found. Install the third party library source first and try again.
Two things to confirm with this - 1) listArduinoLibraries should list this library. 2) The location where the 3rd party li...

presque 6 ans il y a | 0

Réponse apportée
How can matlab understand that the external button is pressed or not?
You will have to do this in while loop instead of if else. For an example see this video and if that is what you need the link t...

presque 6 ans il y a | 0

Réponse apportée
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 ...

presque 6 ans il y a | 0

Réponse apportée
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...

presque 6 ans il y a | 1

Chaîne


Indoor Climate Monitoring System

presque 6 ans il y a

Réponse apportée
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...

presque 6 ans il y a | 0

Réponse apportée
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...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 6 ans il y a | 2

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 1

| A accepté

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

environ 6 ans il y a | 1

Réponse apportée
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

environ 6 ans il y a | 0

Charger plus