mathworks / Raspbian_OS_Setup

Setup the Raspberry Pi Raspbian OS to be compatible with MATLAB and Simulink support package for Raspberry Pi
49 stars 25 forks source link

Add setup script for Raspian 'Bullseye'. #4

Open warnes opened 2 years ago

warnes commented 2 years ago

Update install script for latest Raspian release: 'Bullseye'.

Most of the packages that were compiled in the earlier scripts are available as debian packages, so I've updated the apt-get command to install as much as possible that way.

I have tested that the install script runs without error on Rasberry 4B using Bullseye 64-bit.

Next step is to test connection to Matlab & Simulink.

sylvanoMTL commented 2 years ago

I thought the MATLAB SImulink support package were not compatible with OS 64bit versions. Did you succeed in connecting to the Pi ?

warnes commented 2 years ago

No, I did not succeed, but I did submit the code changes along with a support ticket to Mathworks.

On Sat, Jun 11, 2022 at 7:20 AM sylvanoMTL @.***> wrote:

I thought the MATLAB SImulink support package were not compatible with OS 64bit versions. Did you succeed in connecting to the Pi ?

— Reply to this email directly, view it on GitHub https://github.com/mathworks/Raspbian_OS_Setup/pull/4#issuecomment-1152902065, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO4GX3WTZ5AVPAMN7UXKDLVORY6JANCNFSM5T5TDLHA . You are receiving this because you authored the thread.Message ID: @.***>

-- "Whereas true religion and good morals are the only solid foundations of public liberty and happiness . . . it is hereby earnestly recommended to the several States to take the most effectual measures for the encouragement thereof." Continental Congress, 1778

sylvanoMTL commented 2 years ago

I am not really sure if the script is used by the MATLAB installer/setup wizard. I have submitted another issue with a "pi" name. As I understand,"pi" is no more the default username for new raspbian os and is setup by the user on first boot (at least it happens with my CM4). I could use the installer (rather than the script itself), using a 32bit os version. The setup failed, thanksfully there was an error and I could trace it back to line150 of the script (where we have sudo adduser pi video) and changed "pi" for my username

I was able to ping to the raspberry pi. my 2 cents that you may try again with a 32 bit OS

I did a quick/dirty test to do a tune and monitor on my CM4 with simulink but it failed. Not sure why, I just hope all packages have been installed.

warnes commented 2 years ago

I ended up simply using the Matlab provided image for my 4B's.

On Sat, Jun 11, 2022 at 10:11 AM sylvanoMTL @.***> wrote:

I am not really sure if the script is used by the MATLAB installer/setup wizard. I have submitted another issue with a "pi" name. As I understand,"pi" is no more the default username for new raspbian os and is setup by the user on first boot (at least it happens with my CM4). I could use the installer (rather than the script itself), using a 32bit os version. The setup failed, thanksfully there was an error and I could trace it back to line150 of the script (where we have sudo adduser pi video) and changed "pi" for my username

I was able to ping to the raspberry pi. my 2 cents that you may try again with a 32 bit OS

I did a quick/dirty test to do a tune and monitor on my CM4 with simulink but it failed. Not sure why, I just hope all packages have been installed.

— Reply to this email directly, view it on GitHub https://github.com/mathworks/Raspbian_OS_Setup/pull/4#issuecomment-1152934412, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO4GXZVDTT4TKH7NNGKPZDVOSM7TANCNFSM5T5TDLHA . You are receiving this because you authored the thread.Message ID: @.***>

-- "Whereas true religion and good morals are the only solid foundations of public liberty and happiness . . . it is hereby earnestly recommended to the several States to take the most effectual measures for the encouragement thereof." Continental Congress, 1778

mrharis25 commented 2 years ago

Hello, Can you please share Matlab.21.b image file for Raspberry Pi 4B 8Gb to use with Simulink? It seems old Pi versions have different processor and are not compatible with provided image files. Thanks in advance.