- Plug the SD card into your computer and reformat it so it is recognized by your computer.* Make the volume label of the formatted drive "boot"
- Install the MATLAB Support Package for Raspberry Pi Hardware
- Open MATLAB > Manage Add-ons > Hardware Setup (this is the gear icon next to the Raspberry Pi Support Package)* Select your Hardware Board* Choose "Setup hardware with MathWorks Raspbian image"* Download the MathWorks Raspbian image.* Click "Browse" and navigate to that ZIP file that was downloaded, select that file, and click "Validate"* Select "Connect to wireless network"* Select "Automatically get IP address"* Select your SD card, if it was reformatted correctly, it should appear here as a drive on your computer.* Click write to write the OS Image to the card* Once it's done writing the image, you can close the hardware setup window, we aren't going to do the device detection here.
- In the file explorer on you OS, open up the "boot" folder for the SD card, and add the following two files to it.* Download the attached "wpa_supplicant.conf" and replace <Name of your WiFi> and <Password for your WiFi> with your WiFi and password. Make sure they are in quotes.* Create a file named "ssh" with no file extension and leave it empty.
- Eject and remove the SD card from the computer.
- Put the SD in the Raspberry Pi and boot it up.
- Go back to MATLAB and try to connect to your Pi with the following command.
How do I connect to my Raspberry Pi 3 from MATLAB with the Hardware Setup app?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 4 de Oct. de 2019
Respondida: MathWorks Support Team
el 7 de Mayo de 2020
I would like to be able to connect my Raspberry Pi to MATLAB with a wireless connection. I have a new SD card without a Raspbian image on it.
Respuesta aceptada
MathWorks Support Team
el 4 de Oct. de 2019
Please see the instructions below to set up your Raspberry Pi with a wireless connection using the MATLAB Customized Raspbian Image.
>> raspi("<Pi IP address>", "pi", "raspberry") % the password should still be the default, which is "raspberry". You can change this after connecting to it
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Installation Setup and Configuration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!