Skip to content

Instantly share code, notes, and snippets.

@corndog2000
Last active February 17, 2022 00:43
Show Gist options
  • Save corndog2000/1b70eda7592478345c4c6b124df05a1a to your computer and use it in GitHub Desktop.
Save corndog2000/1b70eda7592478345c4c6b124df05a1a to your computer and use it in GitHub Desktop.
Launch Matlab 2021b on Linux with hardware rendering and without a terminal
#!/bin/bash
# Make this file executable by running chmod +x start-matlab.sh
# Change 'R2021b' to your current folder to match the version you are using.
export MESA_LOADER_DRIVER_OVERRIDE=i965; /usr/local/MATLAB/R2021b/bin/matlab -nosoftwareopengl -desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment