Questions tagged [matlab]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

How to run my MATLAB code independently on Raspberry Pi

I have a MATLAB code,the aim is to get the output through the input.And I want to run it independently in raspberry pi.My input and output are obtained in simulink.I just want to know how to make this ...
Jackson Zhang's user avatar
0 votes
0 answers
18 views

Configuration of iqaudio digiamp+ on Matlab

I try to implement a simple Simulink-model on my Raspberry Pi 4 model b . For this, I have a simple sine wave with 1/8000 sample time wich I pluged into an ALSA Audio Capture Block. When I try to run ...
Scorpio731's user avatar
1 vote
0 answers
31 views

is it possible to change the Audio output channel (3.5 mm Jack /usb soundcard or via gpio's) with MATLAB?

i want to be able to change the audio output channel via Matlab. is it Possible to apply these changes? (Signal Rooting)# if there is a way, i would appreciate any help or guide. thanks a lot
Newer's user avatar
  • 11
1 vote
1 answer
376 views

I2C detectable but stopped working - using RasPi 3B, RaspbianOS (and MatLab/Simulink)

Dear community, I'm almost at my wit's end and would be so happy to receive help. It would be a great Christmas present to me if some of you take the time to read and provide inquiry, knowledge or ...
Nep's user avatar
  • 11
0 votes
1 answer
414 views

Is it possible to run meshlab or matlab on Rasbberry Pi 4 OS?

I'm planning to use rpi 4 8gb 64bit OS. Is it possible to run meshlab or matlab? I'm planning to convert data of a 3D scanner to a point cloud and export it as an stl file for printing. Please ...
user avatar
3 votes
1 answer
243 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 ...
Aisha's user avatar
  • 33
0 votes
1 answer
142 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/...
bob776's user avatar
  • 1
-2 votes
1 answer
296 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 ...
Max's user avatar
  • 1
0 votes
2 answers
626 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 ...
P_Lash's user avatar
  • 31
1 vote
0 answers
132 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 ...
P_Lash's user avatar
  • 31
0 votes
2 answers
683 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 ...
Emotional_Cabbage's user avatar
-1 votes
1 answer
505 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....
vfy's user avatar
  • 1
-1 votes
1 answer
897 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 ...
Tamama Chin's user avatar
1 vote
0 answers
380 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 ...
FrederikStenberg's user avatar
2 votes
2 answers
6k 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% ...
UZIERSKI's user avatar
1 vote
1 answer
1k 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 ...
Xúc Cảm's user avatar
3 votes
1 answer
419 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<---->...
Digol's user avatar
  • 173
2 votes
4 answers
4k 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 ...
Xúc Cảm's user avatar
1 vote
0 answers
462 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 ...
Cshanehsaz's user avatar
0 votes
1 answer
415 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 ...
Digol's user avatar
  • 173
-2 votes
3 answers
1k 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.
Atul Patil's user avatar
2 votes
2 answers
237 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 ...
user43282's user avatar
0 votes
1 answer
765 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 ...
mstok444's user avatar
2 votes
2 answers
23k 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?
Saeed Vrz's user avatar
2 votes
0 answers
963 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....
Mazzy's user avatar
  • 141