Skip to main content

Questions tagged [matlab]

MATLAB is a programming language used primarily for numerical computations. Use this tag for questions regarding communicating or using MATLAB with Arduino. Also consider using other tags such as [programming].

Filter by
Sorted by
Tagged with
-1 votes
1 answer
71 views

This is a Wolfram Mathematica / Arduino serial feed problem , but I am posting here just in for any suggestions on enhancing the Arduino code or the Mathematica notebook. The original post is here ...
Jose Enrique Calderon's user avatar
0 votes
3 answers
1k views

Im having trouble in sending float number and multiple float numbers. Im currently working on project matlab and arduino mkr1000. The situation is that i want to send float number and multiple float ...
haniff derani's user avatar
2 votes
0 answers
208 views

I am working on servo motors control through serial communication protocol, I am sending data from Simulink to arduino and vice versa, The problem I am getting is that once I open Simulink Servo ...
HDne's user avatar
  • 21
2 votes
1 answer
258 views

I have code that fetches analog input values from terminals A0, A1 and A2 of an Arduino Mega 2560. When I plot the data, it does not give the desired waveform. The desired waveform is also measured ...
coder_but_not_smart's user avatar
1 vote
0 answers
49 views

I want to receive a float on Atmega32 from matlab. I display the output on an lcd, but i receive 0.000, can any one help me? Please ... matlab code s=serial('COM1','BaudRate',9600); fopen(s) fwrite(...
mohamed's user avatar
  • 75
-1 votes
1 answer
73 views

How can I take data from my house main power and reconstruct it signal? I used an transformer and an inverter amplifier to low voltage to 5 volts and read it with A0 analog pin, but I got a very ...
Victor Vital's user avatar
1 vote
0 answers
172 views

I am trying to connect my MKR IMU Shield to my MKR1000 by placing the IMU shield in the MKR1000. When I do this, however, the Arduino IDE and Simulink are unable to find the port that my Arduino is ...
tennis25's user avatar
1 vote
1 answer
286 views

I am working on timing issues associated with sampling data at high rates and storing it on an SD card (ADC delays, clock drifts and file I/O time). For this experiment, I thought of sending a ...
Harini's user avatar
  • 55
-1 votes
1 answer
475 views

I've been hitting against a wall for over a week now. My current project is to use a Teensy 3.6 to send data over an SPI bus to a chip which is effective going to be a signal generator. I've made a ...
Ryne's user avatar
  • 1
0 votes
1 answer
227 views

First off. This is not in any way a class assignment. This is my own personal work and research. I just want to get that out of the way. I am learning how to use Matlab with various Arduino projects. ...
dsmalenb's user avatar
  • 103
-1 votes
1 answer
183 views

I am using the MATLAB support package for Arduino. However, I need to configure the ADC reference to external. MATLAB documentation doesn't really explain how to do this? Is there any way I can use ...
Dr Krishnakumar Gopalakrishnan's user avatar
3 votes
4 answers
1k views

I am trying to develop a GUI to control a device hooked up on the Arduino. The Arduino communicates with the device through SPI. I have developed a GUI on MATLAB to visualize read by the Arduino. For ...
Mathews John's user avatar
1 vote
1 answer
305 views

The sample rate of an accelerometer, like an MPU6050, is much faster than the GPS log rate, different technology, different issues. A common GPS Reciver has, approximatly, one second log rate. In my ...
Andrea Ciufo's user avatar
2 votes
0 answers
258 views

I have to send from MATLAB to Arduino a char line 'S' to start the Arduino program and send back values from a sensor. This is my MATLAB code clear; delete(instrfind); s = serial('/dev/cu....
Arnau Gispert Becerra's user avatar
1 vote
0 answers
555 views

I've two LEDs connected to the arduino uno's pin 12 and 13. I want to control the LEDs independently from the MATLAB serial command. Here is my MATLAB serial command from where I'm sending char array ...
lkdhruw's user avatar
  • 126
-1 votes
2 answers
3k views

I am trying to send some integers to an LCD. But it is not working. I have tried in Proteus. Please help. I have uploaded MATLAB and Arduino code below. MATLAB code: clear all clc answer=1; % this ...
user avatar
0 votes
1 answer
591 views

I have an Arduino board with Intel Edison on it. I have tried to read data in Arduino from MatLab through the serial port. I'm sure the Arduino board is working because when I use the serial monitor ...
skyworld's user avatar
4 votes
0 answers
727 views

I'm trying to get some binary data from an Arduino Due to Matlab. Basically this is the setup: Due: byte usbMsg[33]= {0}; // filled with dummy as example usbMsg[1] = '00000001';// in[3]; usbMsg[2] =...
Chuchaki's user avatar
  • 141
2 votes
0 answers
128 views

I'm using Matlab to communicate with a custom AD7746 board through an Arduino UNO. The data sheet mentions that "In continuous conversion mode, the address pointers’ autoincrementer should be used ...
user3808947's user avatar
5 votes
4 answers
4k views

I have Googled quite a lot regarding using a C++ program for uploading to Arduino and related, however I am confused now. Right, my problem is this: I have written a C++ program which imports RGB ...
panda_the_great's user avatar
3 votes
2 answers
465 views

I am using the MATLAB Arduino Support Package to create a setup where I can read force data from a load cell and positional data from an incremental encoder - then plot them on MATLAB. It must be done ...
rtkilian's user avatar
0 votes
2 answers
2k views

I'm new to Arduino and am learning how Serial communication works. I am trying to send a value from Matlab to Arduino, but it seems to be partly fruitful. If anyone can explain the difference between ...
the_parzival's user avatar
1 vote
3 answers
14k views

I have an accelerometer connected to my Arduino Due to spit out data on my serial monitor as described in my earlier post. I'm trying to find a sketch I could use to plot a continuous real-time graph ...
dada's user avatar
  • 127
0 votes
1 answer
2k views

I encounter a problem when deploy matlab simulink model to Arduino UNO Following shows the error *The call to realtime_make_rtw_hook, during the after_make hook generated the following error: The ...
toby's user avatar
  • 3
3 votes
0 answers
1k views

I would like to exchange data via Xbee. I've set up a communication based on strings between the Arduino and a Matlab software. Unfortunately this kind of communication isn't enough robust and ...
UserK's user avatar
  • 559