已回答

Error connecting Arduino hardware to MATLAB R2018b

Have you tried uninstalling and reinstalling the support package? When installing these support packages if additional terminal ...

Error connecting Arduino hardware to MATLAB R2018b

Have you tried uninstalling and reinstalling the support package? When installing these support packages if additional terminal ...

4 years 前 | 0

已回答

"measure temperature from i2c device using arduino hardware".

Can you try with other arduino boards or other sensors? That code works for me on the Arduino and TMP102 sensor.

"measure temperature from i2c device using arduino hardware".

Can you try with other arduino boards or other sensors? That code works for me on the Arduino and TMP102 sensor.

4 years 前 | 0

已回答

"measure temperature from i2c device using arduino hardware".

What is the Arduino board using and does your hardware setup look similar to the one shown here - https://www.mathworks.com/help...

"measure temperature from i2c device using arduino hardware".

What is the Arduino board using and does your hardware setup look similar to the one shown here - https://www.mathworks.com/help...

4 years 前 | 0

已回答

The problem of delay in contact with Ardiono

When you attempt to open a connection with Arduino, MATLAB downloads an Arduino sketch to the hardware and this is the reason it...

The problem of delay in contact with Ardiono

When you attempt to open a connection with Arduino, MATLAB downloads an Arduino sketch to the hardware and this is the reason it...

4 years 前 | 0

已回答

matlab function for arduino

I think you are better off using the Simulink workflow to perform controls and not use the MATLAB Support package for Arduino fu...

matlab function for arduino

I think you are better off using the Simulink workflow to perform controls and not use the MATLAB Support package for Arduino fu...

4 years 前 | 0

已回答

matlab function for arduino

Based on the error it looks like you are attempting to use MATLAB Function block within a Simulink Model. In this approach, you ...

matlab function for arduino

Based on the error it looks like you are attempting to use MATLAB Function block within a Simulink Model. In this approach, you ...

4 years 前 | 0

已回答

Recording values from I2C sensors

If you use MATLAB Support Package for Arduino, there is readRegister function to read data in - https://www.mathworks.com/help/s...

Recording values from I2C sensors

If you use MATLAB Support Package for Arduino, there is readRegister function to read data in - https://www.mathworks.com/help/s...

4 years 前 | 0

已回答

Can't connect Arduino Uno (Genuino) to Matlab R2016a

Try putting the device in bootloader mode, by double presssing the RESET button.

Can't connect Arduino Uno (Genuino) to Matlab R2016a

Try putting the device in bootloader mode, by double presssing the RESET button.

4 years 前 | 0

已回答

How to read COM port caption

seriallist command is used to detect additions to the COM port #s (only available starting R2017a). However in this technique yo...

How to read COM port caption

seriallist command is used to detect additions to the COM port #s (only available starting R2017a). However in this technique yo...

4 years 前 | 1

已回答

How I can read data from VL53L0X in simulink?

I would recommend creating your own block using the techniques described in this video - https://www.youtube.com/watch?v=qoj8Pa2...

How I can read data from VL53L0X in simulink?

I would recommend creating your own block using the techniques described in this video - https://www.youtube.com/watch?v=qoj8Pa2...

4 years 前 | 1

| 已接受

已回答

Raspberry pi board connecting to matlab

So I am assuming this is right after MATLAB Support package for Raspberry Pi Setup. If it fails, I usually try the following - ...

Raspberry pi board connecting to matlab

So I am assuming this is right after MATLAB Support package for Raspberry Pi Setup. If it fails, I usually try the following - ...

4 years 前 | 0

已回答

Arduino Temperature Sensor with buttons

If you need your code to be deployed to the Arduino and work independent of PC, then use Simulink Support Package for Arduino. I...

Arduino Temperature Sensor with buttons

If you need your code to be deployed to the Arduino and work independent of PC, then use Simulink Support Package for Arduino. I...

4 years 前 | 0

已回答

Servo Library with Simulink and Arduino

This video has some relevant items - https://www.youtube.com/watch?v=qoj8Pa2wi0A but needs to be adapted for your case

Servo Library with Simulink and Arduino

This video has some relevant items - https://www.youtube.com/watch?v=qoj8Pa2wi0A but needs to be adapted for your case

4 years 前 | 0

已回答

No connection to mkr1000 board.

Try putting the Arduino in bootloader mode before downloading the Simulink model and also make Simulink automatically set COM po...

No connection to mkr1000 board.

Try putting the Arduino in bootloader mode before downloading the Simulink model and also make Simulink automatically set COM po...

4 years 前 | 0

已回答

How do i plot ECG sensor data from arduino to ECG graph using matlab?

Here are my thoughts on this topic and unfortunately I am not a subject matter expert on this. https://www.mathworks.com/video...

How do i plot ECG sensor data from arduino to ECG graph using matlab?

Here are my thoughts on this topic and unfortunately I am not a subject matter expert on this. https://www.mathworks.com/video...

4 years 前 | 0

已回答

How do i plot ECG sensor data from arduino to ECG graph using matlab?

You can search through the MATLAB File Exchange to see if there are pre-existing libraries that you can use. If not, you will ha...

How do i plot ECG sensor data from arduino to ECG graph using matlab?

You can search through the MATLAB File Exchange to see if there are pre-existing libraries that you can use. If not, you will ha...

4 years 前 | 0

已回答

I want to add two pulse generator in simulink and dump it into arduino uno...the result i am getting is change in the frequency at arduino output what i have set in pulse generator?

Here is what I think is going on - the model is overrunning itself as the sample time for model is small (0.000625 or 1600 Hz). ...

I want to add two pulse generator in simulink and dump it into arduino uno...the result i am getting is change in the frequency at arduino output what i have set in pulse generator?

Here is what I think is going on - the model is overrunning itself as the sample time for model is small (0.000625 or 1600 Hz). ...

4 years 前 | 0

已回答

I want to add two pulse generator in simulink and dump it into arduino uno...the result i am getting is change in the frequency at arduino output what i have set in pulse generator?

Here is what I would recommend - 1) Create a new Simulation only model and put two pulse generators both with a sampling perio...

I want to add two pulse generator in simulink and dump it into arduino uno...the result i am getting is change in the frequency at arduino output what i have set in pulse generator?

Here is what I would recommend - 1) Create a new Simulation only model and put two pulse generators both with a sampling perio...

4 years 前 | 1

已回答

I want to add two pulse generator in simulink and dump it into arduino uno...the result i am getting is change in the frequency at arduino output what i have set in pulse generator?

The correct way would be to have one pulse generator with period 0.02 seconds and appropriate Pulse Width. Adding two blocks doe...

I want to add two pulse generator in simulink and dump it into arduino uno...the result i am getting is change in the frequency at arduino output what i have set in pulse generator?

The correct way would be to have one pulse generator with period 0.02 seconds and appropriate Pulse Width. Adding two blocks doe...

4 years 前 | 0

| 已接受

已回答

HC-SR04 library listArduinoLibraries is not showing it.

Have you tried using this? - https://www.mathworks.com/matlabcentral/fileexchange/57898-hc-sr04-add-on-library-for-arduino Ple...

HC-SR04 library listArduinoLibraries is not showing it.

Have you tried using this? - https://www.mathworks.com/matlabcentral/fileexchange/57898-hc-sr04-add-on-library-for-arduino Ple...

4 years 前 | 0

已回答

Install Arduino uno offline

Does this help - https://www.mathworks.com/matlabcentral/answers/293235-how-do-i-download-hardware-support-packages-and-optional...

Install Arduino uno offline

Does this help - https://www.mathworks.com/matlabcentral/answers/293235-how-do-i-download-hardware-support-packages-and-optional...

4 years 前 | 0

已回答

I need help about my arduino LED project

There is a warning/error on MATLAB - that MATLAB experienced a low-level ... I suspect that has something to do with the Sco...

I need help about my arduino LED project

There is a warning/error on MATLAB - that MATLAB experienced a low-level ... I suspect that has something to do with the Sco...

4 years 前 | 0

已回答

how read acceleration data for BNO055

This sensor is supported in the Simulink support package for Arduino - https://www.mathworks.com/help/supportpkg/arduino/ref/bno...

how read acceleration data for BNO055

This sensor is supported in the Simulink support package for Arduino - https://www.mathworks.com/help/supportpkg/arduino/ref/bno...

4 years 前 | 1

已回答

Can anyone help me please ?

If you tried those instructions and are getting the same error, try the Set host COM port option to Automatically in the same pa...

Can anyone help me please ?

If you tried those instructions and are getting the same error, try the Set host COM port option to Automatically in the same pa...

4 years 前 | 0

已回答

How to make a step function from 2 volts to 2.5 volts in matlab using Arduino? (without Simulink and step matlab function itself)

What if you changed your code to the following - clc clear all a = arduino; writePWMVoltage(a,'D5',2); for k = 1:1000 ...

How to make a step function from 2 volts to 2.5 volts in matlab using Arduino? (without Simulink and step matlab function itself)

What if you changed your code to the following - clc clear all a = arduino; writePWMVoltage(a,'D5',2); for k = 1:1000 ...

4 years 前 | 1

| 已接受

已回答

Can't get my Matlab and Simulink license

You can check if that process went through correctly to create your license or not, by going to your accounts page. 1) Log i...

Can't get my Matlab and Simulink license

You can check if that process went through correctly to create your license or not, by going to your accounts page. 1) Log i...

4 years 前 | 2

| 已接受

已回答

How to filter ECG signal from an Arduino in real-time using Simulink?

https://www.mathworks.com/videos/how-to-build-a-heart-rate-detector-using-arduino-and-matlab-1520412607264.html This example...

How to filter ECG signal from an Arduino in real-time using Simulink?

https://www.mathworks.com/videos/how-to-build-a-heart-rate-detector-using-arduino-and-matlab-1520412607264.html This example...

4 years 前 | 1

已回答

Are Dutch Secondary School eligible for student licences?

https://www.mathworks.com/academia/highschool.html This license might be a better fit for primary and secondary schools as the...

Are Dutch Secondary School eligible for student licences?

https://www.mathworks.com/academia/highschool.html This license might be a better fit for primary and secondary schools as the...

4 years 前 | 0

已回答

analog Encoder in Matlab and arduino

Just go ahead and connect the encoder outs to digital pins that you have access to. Then use rotaryEncoder function on those dig...

analog Encoder in Matlab and arduino

Just go ahead and connect the encoder outs to digital pins that you have access to. Then use rotaryEncoder function on those dig...

4 years 前 | 2

| 已接受

已回答

analog Encoder in Matlab and arduino

The rotaryEncoder function is only going to work with quadrature encoders as noted in the documentation. It seems to me like th...

analog Encoder in Matlab and arduino

The rotaryEncoder function is only going to work with quadrature encoders as noted in the documentation. It seems to me like th...

4 years 前 | 1