summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/matlab
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.local/bin/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"