The error message encountered suggests that MATLAB is having trouble accessing removable drives on MacBook Pro with an M2 processor.
- Ensure that MATLAB has the necessary permissions to access removable drives. You can do this by going to:
System Preferences > Security & Privacy > Privacy tab.
- Check if MATLAB is listed under Files and Folder or Full Disk Access and ensure it has the required permissions.
You can refer to the below video to help you get started with programming your Raspberry Pi Board with MATLAB or Simulink:
You can also refer to the following link for better understanding about Simulink Support Package for Raspberry Pi Hardware:
Hope this helps!

