Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
6 views

Interrupt in Raspberry pi using MATLAB Programming toolbox for RPi

Is there a way to use the external interrupt feature of Raspberry Pi using MATLAB? The MATLAB only supports read and write to I/O's. I am using Raspberry Pi model 3 B. I am trying to execute a routine ...
-3
votes
1answer
25 views

how can I use matlab or simulink with Raspberry Pi? [on hold]

How can I use matlab or simulink with Raspberry Pi ? Ive read / heard that it could be possible to do so but I still can't find a way to do so or if it really is possible.
-2
votes
0answers
32 views

Three image processing on one Raspberry Pi [on hold]

Is it possible to use a single Raspberry Pi 3 for three camera inputs and do different image processing per camera? Please explain to me whether yes or no.
0
votes
0answers
9 views

Can I have Matlab Engine from my host computer to communicate with the Python I'm executing on RasPi?

In short, I need to use my host computer as an API to control the 3 cameras driven by Raspberry Pi. Just basic stuff like when to stop recording and when to start recording. Change video resolution, ...
-2
votes
1answer
61 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
105 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
71 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
0answers
67 views

How to send values from MATLAB to RaspberryPi for servo control?

I'm implementing a Fuzzy based PD controller on MATLAB to control a robotic system. The output of my controller will be in terms of motor angles, which I want to send to a pair of servo motors running ...
0
votes
1answer
258 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
248 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
375 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
181 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
2k 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
703 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
277 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
268 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
278 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
179 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
186 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
629 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
602 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
18k 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
794 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....