summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-09-21 23:45:37 -0700
committerxyz <gky44px1999@gmail.com>2022-09-21 23:45:37 -0700
commite26bc0ff43a4210a61a02b2b9999f3a78ba05239 (patch)
treea0e2385c28873b4e4c9782f5e82153d39f19b735
parentf9a466ab4a4088c5b293b2a742a43816f5d7457d (diff)
fuck matlab
-rwxr-xr-xhome/xyz/.local/bin/matlab4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/matlab b/home/xyz/.local/bin/matlab
index 87bb4cd7..6f39d4ed 100755
--- a/home/xyz/.local/bin/matlab
+++ b/home/xyz/.local/bin/matlab
@@ -17,7 +17,9 @@ bin_dir="$HOME/programs/MATLAB/R2022a/bin"
addon_dir="$HOME/MATLAB Add-Ons"
[ -d "$startup_dir" ] || mkdir "$startup_dir"
-# my workaround for simulink gyroscope compile errors: "avr-gcc: error: I2Cdev.o: No such file or directory" (also for other .o files) "Code generation information file does not exist."
+# my workaround for simulink gyroscope compile errors:
+# "avr-gcc: error: I2Cdev.o: No such file or directory" (also for other .o files)
+# "Code generation information file does not exist." (caused by no .o file error before I guess)
# I guess it is still cross filesystem hardlink error
# need to set path in matlab manually once for "$startup_dir/$addon_dir" sub dirs inside
[ -d "$startup_dir/$addon_dir" ] || cp -r "$addon_dir" "$startup_dir"