Questions tagged [matlab]

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

22 questions
3
votes
1 answer

Alternatives to Matlab - Running Matlab code in Raspberry Pi

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 not require Simulink and it involves simple…
Aisha
  • 33
  • 6
2
votes
2 answers

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% accuracy for OCR. However as I'm using the student…
UZIERSKI
  • 43
  • 2
  • 7
2
votes
4 answers

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 on simulink not appropriate with rasp or sample…
Xúc Cảm
  • 51
  • 1
  • 6
2
votes
2 answers

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 matlab for Raspberry Pi on my system. What changes…
user43282
  • 21
  • 1
2
votes
2 answers

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
  • 25
  • 1
  • 1
  • 5
2
votes
0 answers

Send Matlab data to Raspberry USB port

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. I have realized that there is a Simulink block…
Mazzy
  • 141
  • 3
1
vote
0 answers

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

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 for further processing. Any way I can do this?
P_Lash
  • 31
  • 4
1
vote
0 answers

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 ethernet cable, but whether if I try to Run the model…
1
vote
1 answer

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 when I receive this number on the Raspberry in…
Xúc Cảm
  • 51
  • 1
  • 6
1
vote
0 answers

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 program my Raspi, I encounter one of two…
Cshanehsaz
  • 11
  • 1
1
vote
0 answers

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
  • 11
  • 1
1
vote
1 answer

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 even a solution. I tried to structure it as neatly…
Nep
  • 11
  • 2
0
votes
1 answer

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/Off Response? or using PWM to get a value…
bob776
  • 1
0
votes
2 answers

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 to use UART0/ttyAMA0 (more info here and here). I…
P_Lash
  • 31
  • 4
0
votes
2 answers

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 a grounding pin. For the camera to trigger i need…
1
2