Skip to content

Commit 5ee2944

Browse files
committed
Cleaning install file
1 parent a529fef commit 5ee2944

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

RPInstall.mlx

-162 Bytes
Binary file not shown.

lib/RoboticsPlaygroundInstall.m

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
function RoboticsPlaygroundInstall
2+
% This funciton installs the toolbox into MATLAB sodocumentation and
3+
% applications are available.
4+
5+
addons = matlab.addons.installedAddons;
6+
if any(find(strcmp(addons.Name,'Robotics Playground')))
7+
uiwait(msgbox('Previous version already installed. To update your Robotics Playground version first uninstall using the Add-Ons explorer','Already Installed','modal'));
8+
matlab.apputil.run('RoboticsPlaygroundAppAPP');
9+
closeNoPrompt(matlab.desktop.editor.getActive);
10+
else
11+
matlab.addons.install(which('Robotics Playground.mltbx'));
12+
matlab.apputil.run('RoboticsPlaygroundAppAPP');
13+
uiwait(msgbox('The Robotics Playground has been succesfully installed! You can now access files and lessons through the provided MATLAB APP in the ''APPS'' tab of the toolbar.','Installation Complete','modal'));
14+
closeNoPrompt(matlab.desktop.editor.getActive);
15+
end

0 commit comments

Comments
 (0)