Answered
MPU6050 Arduino Uno Simulink
Hi You could use MPU6050 block in simulink to read data from MPU6050 sensor connected to Arduino. To use MATLAB function block...

2 years ago | 1

Answered
Using multiple "Serial" ports of arduino mega 2560
Hi, In MATLAB, use device() to connect to serial device on Arduino arduinoObj = arduino("COM16","Leonardo","Libraries",{'SP...

2 years ago | 1

| accepted

Answered
Two Arduino Uno with 4 MPU6050 IMUs simulink
Hi, You can connect 2 MPU6050s on the same Arduino I2C bus by changing the I2C Address of one of the sensor. This can be don...

2 years ago | 0

Answered
Mpu9250 calibration with simulink by MATLAB function
Hi magcal function can be used to calibrate magnetometer data. Fusion filters can be used to determine orientation. The below ...

2 years ago | 0

| accepted

Answered
Read data from Arduino Nano 33 IoT IMU sensor
Hi, Connecting to LSM6DS3 sensor on Arduino hardware I2C bus can be done by following Use lsm6ds3 object in MATLAB Use LSM6D...

2 years ago | 0

Answered
Raspberry and MATLAB with MPU9250
Hi, Connecting to MPU-9250 sensor on Raspberry Pi hardware in MATLAB can be done using mpu9250 object. This feature is support...

2 years ago | 0

Answered
Read and Parse NMEA Data Directly From GPS Receiver-No example
Hi, nmeaParser in Navigation toolbox can be used to parse sentences compliant with NMEA 0183 Standard, Version 4.10. It suppor...

2 years ago | 0

Answered
Modeling accelerometer and gyroscope in simulink
https://in.mathworks.com/help/supportpkg/arduino/ref/mpu6050imusensor.html Hope this helps Thanks

3 years ago | 0

Answered
Incorrect I2C device connected. Expected I2C addresses: [0x0C]. Detected I2C addresses: [0x69].
Hey Is the AD0 pin of the sensor connected to high? Can you try creating the object by specifying the I2C addresses imu = mp...

4 years ago | 0

Answered
Calculating Vibrational frequency with MPU 6050
Hi, Could you try setting the SampleRate of the imu object and use read() >> imu = mpu9250(a,"SampleRate",190); >> tt = imu....

4 years ago | 0

Answered
MPU-6050 accelerometer reading of one direction
Hi accelReadings(1) should give you the x values. If you have a license for Sensor Fusion and Tracking toolbox or Navigation t...

4 years ago | 0

| accepted

Answered
How to import raw data mpu6050 directly from serial monitor to matlab?
The below link will help you in interfacing mpu650 connected to arduino: https://www.mathworks.com/help/supportpkg/arduinoio/re...

4 years ago | 0

Answered
how I can get 2 mpu6050 data from arduino to matlab!
Hi, From R2019a, to read the data from mpu6050 connected to arduino, the below code can be used: Please refer the below link f...

4 years ago | 0

Answered
interface mpu6050 with matlab
Hi, The below link will be helpful for you.It explains how to read data from mpu6050 sensor connected to Arduino https://www.m...

4 years ago | 1

Answered
Read and Parse NMEA Data Directly From GPS Receiver-No example
Hi, The example is available in R2019b. Can you try in R2019b. If you are using R2019b, executing the below command will add ...

4 years ago | 0

| accepted

Answered
Having difficulty with installation process
Hi, You could contact Support for installation issues as well. Please refer the below link. There are some self-help resource...

5 years ago | 0

| accepted

Answered
Hello How can I program TI C2000 LaunchXL F28379D to accept inputs from 3 potentiometers and control a GPIO pin accordingly?
Hi, You will have to install <https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/index.html Embedded Coder Suppo...

5 years ago | 0

| accepted

Answered
I have created a uitable in appdesigner. Is there anyway to highlight specific rows?
Hi, This link may have some information useful for you. <https://www.mathworks.com/matlabcentral/answers/31220-uitable> ...

5 years ago | 0

Answered
When to Use imadjust and when to use histeq
Hi, The below link might be helpful for you: <https://www.mathworks.com/matlabcentral/answers/267371-what-is-the-differenc...

5 years ago | 0

Answered
get data and plot graph from multiples termocouples in Arduino
Hi Angel, Since you are printing the data to Serial monitor using Arduino IDE, you could create a serial object in MATLAB to ...

5 years ago | 0

| accepted

Answered
Can anyone please tell me how model this following script in simulink?
Hi, Could you check out MATLAB Function block? Please refer the below documentation to know more about this block: <https:...

6 years ago | 0

Answered
What code is to be used when I want to calculate the CVaR contribution of an assets i to an equally weighted portfolio?
Hi, The following link might help you get started: <https://www.mathworks.com/discovery/conditional-value-at-risk.html> ...

6 years ago | 0

Answered
overlapping and coloring pictures in a sequence
Hi, If the name of the images you are trying to read differs only in some number in the name, for example name of images are ...

6 years ago | 0

Answered
Creating loop to extract column from table in a cell within a cell?
Hi, Hope this example helps you get started. Suppose there is a cell array named cell_array which has 3 tables T1, T2 and T3 ...

6 years ago | 1

Answered
Simulink use user-defined functions
Hi, Could you check out MATLAB Function block? Please refer the below documentation for more details: <https://www.mathwor...

6 years ago | 0

| accepted

Answered
Creating 1D array from frequency data/histogram?
Hi, Could you check out "histogram" command. Please refer to the below documentation to know more on this comment: <https:...

6 years ago | 0

Answered
Accessing NI cRIO-9045 in Matlab
Hi, The below link might be helpful for you: <https://www.mathworks.com/matlabcentral/answers/122822-accessing-ni-crio-908...

6 years ago | 0

Answered
Does the Simulink Support Package for Raspberry support the 3+?
Hi, Please refer to the link below to know more on Raspberry Pi models which are supported by the support package: <https:...

6 years ago | 0

Answered
The model that you are trying to run in External mode does not match the application running on your target. Rebuild the model, run it on your target, and start External mode simulation again.
Hi, Could you try cleaning up all the files related to the model on the Raspberry Pi and MATLAB as mentioned below. Save the ...

6 years ago | 0

Answered
Processor-in-the-loop Arduino simulation with double data type
Hi, Could you try adding data conversion block inside the subsystem and delete the folders that contain the generated code be...

6 years ago | 0

Load more