Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [matlab]

a multi-paradigm numerical computing environment that can interface with a Raspberry Pi to aquire sensor and image data.

-1
votes
0answers
31 views

Utilizing WiFi to locate lost items

I have seen that MIT has managed to use WiFi to see through walls, I was wondering using the same approach to locate lost items for the elderly. It would also be a lifesaver for most of us who lose ...
3
votes
1answer
48 views

Alternatives to Matlab - Running Matlab code in Raspberry Pi [duplicate]

I have to run some Matlab scripts on Raspberry Pi. As per my understanding, Matlab is quite heavy and cannot be installed on Raspberry Pi. Are there any other safe alternatives? My Matlab code does ...
0
votes
1answer
38 views

Generating signals with Pi

I have a vector of 500 numbers and would like to output these at a sample rate of 1kHz, thus a signal time of 0.5seconds. Is there any way to do this using a Pi? Do the GPIO pins only allow for an On/...
-2
votes
1answer
120 views

Connect 8 Raspberry pi to MATLAB using Ethernet switch

I have 8 Raspberry Pi 3 and want to connect them to MATLAB (installed in my laptop) using Ethernet 16 port switch (NETGEAR). The idea is that RasPis do some processing and send data in real-time to ...
0
votes
2answers
155 views

Unreliable serial data transmission from RPi 3 to PC

I'm trying to send some data serially to my PC from an RPi 3, but I'm receiving gibberish most of the time. I have already performed the prerequisites: disabled Bluetooth and enabled GPIO 14 and 15 ...
1
vote
0answers
92 views

Take images as quickly as possible from RPi Camera and send to MATLAB for processing? [closed]

I'm using an RPi camera module in conjunction with an RPi 3 (Stretch) to track quick motion - I want to capture images as fast as possible (quick = minimum 30 fps) and send to MATLAB image by image ...
0
votes
1answer
349 views

PWM via GPIO to trigger a MAPIR Camera

I am currently trying to trigger a MAPIR NDVI Camera with a PWM Signal. The camera is connected via this HDMI trigger cable. The white wire is connected to GPIO PIN 17, the black wire is connected to ...
0
votes
1answer
298 views

Cannot connect Raspberry Pi 3 Model B to MATLAB R2015b using MATLAB Rasp Pi support package.

When I use the code: mypi = raspi('192.168.0.12','pi','raspberry') It shows this error: Error using raspi (line 169) Cannot establish a TCP/IP connection to the board with device address "192....
0
votes
1answer
445 views

How to install wiringPi in Matlab Simulink for interface Raspberry Pi with ADC?

I like to use IC MCP3008 to change analogue signal to digital signal for Raspberry Pi interface with Matlab Simulink. But I getting the error missing file wiringPi.h and wiringPi.c. May I know how can ...
1
vote
0answers
214 views

Using Simulink to record and output audio

I'm testing my raspberry pi(setup with a morpheus and cirrus board for audio) and created following model in Simulink: I've established proper connection between my host-PC and the pi using an ...
2
votes
2answers
3k views

How to setup Octave GNU 4.0+ for Raspbian

I'm working on the project where I need to read engraved text on the frame. I'm taking a picture using the Raspberry Pi USB camera. I initially developed a script in MatLab which achieved over 70% ...
1
vote
1answer
815 views

How to convert a binary number into integer via UDP receive in python

I have sent a number from Matlab via UDP using the commands below: u=udp('192.168.137.239',5004) ;create UDP object u.OutputBufferSize = 1000; fopen(u) fwrite(u,200,'int' ) ; write number 200 but ...
3
votes
1answer
295 views

How to use MATLAB at host PC with Raspberry Pi

I'm trying to connect MATLAB with raspberry pi 2 b+. have already instlled the raspberry pi addon on MATLAB at the host LAPTOP. The configuration - Matlab(Host LAPTOP)-<---->ETHERNET<---->...
2
votes
4answers
2k views

Can raspberry pi generate many 40khz square wave on GPIO pin using package supported from simulink?

I want generate many 40khz square wave on GPIO pin by simulink but when I try generate more than 10khz is oscillascope not display accurately. I must fix this problem how ? I think supported language ...
1
vote
0answers
299 views

How To Fix Errors With Simulink Support Package

I am practically a complete beginner to MATLAB, Simulink, and Raspberry Pi so please bear with me if I seem dumb. For some reason, whenever I try to set up the Simulink support package so that I can ...
0
votes
1answer
292 views

Using RPI2 model B to read multiple IMU units

I have 3 IMU units "mpu-6050" and I want to read all three in real time. The IMU's communication protocol is I2C. As I noticed the model b has two I2C options : I2C0, I2C1. Does RPI2 can read ...
-2
votes
3answers
328 views

How to execute matlab code on a Raspberry Pi?

I have running matlab code. I just want to execute that code on the Raspberry Pi kit. Please tell me the various ways of doing it.
2
votes
2answers
198 views

Is there a way I can install matlab support on Raspbian through command line and access it through matlab?

Instead of going through the elaborate procedure mentioned here. Can't I install any support package through commands like sudo apt-get install on Raspberry Pi? I already have the support package in ...
1
vote
0answers
737 views

MATLAB Serial Communication and Raspbery Pi

I am trying serial communication with MATLAB and I am using "Raspberry Pi Support from MATLAB". It is very simple and basic. Firstly I create a object with this: mypi = raspi and myserialdevice = ...
0
votes
1answer
641 views

Object Tracking with Simulink

I am currently utilising the Simulink Hardware Support Package for the RPi to implement an object tracking and pan-tilt algorithm. The issue I am coming up against at the moment is I cannot find a way ...
1
vote
2answers
19k views

install MATLAB directly on raspberrypi

I know there are some tools for MATLAB-RPi connection e.g. using simulink add-ons and blocks. But is it possible to install MATLAB directly on RPi?
2
votes
0answers
842 views

Send Matlab data to Raspberry USB port [closed]

I would like to connect to the USB port of the Raspberry Pi with a device (for example: a USB sound card), and send data from Matlab to the Raspberry Pi's USB port in which the USB device is connected....