From af2a53b8eba638534e11354b06c9b0890842989c Mon Sep 17 00:00:00 2001 From: Neal Probert Date: Fri, 7 Feb 2025 10:42:43 -0500 Subject: [PATCH] Added Mathworks --- dot/bashrc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/dot/bashrc b/dot/bashrc index b20db5e..91084ae 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -23,17 +23,15 @@ if [ -d /opt/marben/asnsdk/TCE-C_V80 ]; then export PATH=$ASNSDK_TCE_DIR/bin:$PATH fi -# ROS 1 -#if [ -f /opt/ros/noetic/setup.bash ]; then - # 20.04 -# source /opt/ros/noetic/setup.bash -#fi +# Mathworks +if [ -d /opt/MATLAB/R2024b ]; then + export MATLAB_PATH=/opt/MATLAB/R2024b + export PATH=$PATH:$MATLAB_PATH/bin +# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MATLAB_PATH/bin/glnxa64:$MATLAB_PATH/sys/os/glnxa64 +fi # ROS 2 -if [ -f /opt/ros/iron/setup.baseh ]; then - # 22.04 - source /opt/ros/iron/setup.bash -elif [ -f /opt/ros/jazzy/setup.bash ]; then +if [ -f /opt/ros/jazzy/setup.bash ]; then # 24.04 source /opt/ros/jazzy/setup.bash elif [ -f /opt/ros/rolling/setup.bash ]; then @@ -64,3 +62,4 @@ fi if [ -d $HOME/anaconda3 ]; then export PATH=$PATH:$HOME/anaconda3/bin fi +