From aa1b3b4fd38a1483d479c50baca9db945a69ab3c Mon Sep 17 00:00:00 2001
From: Mauco03 <marco.gaibotti@skywarder.eu>
Date: Mon, 7 Apr 2025 16:46:53 +0200
Subject: [PATCH] [update] Added ASD tag and automatic path

---
 .../exportStandardizedFigure/mainExportStandardizedFigure.m | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/functions/utilities/exportStandardizedFigure/mainExportStandardizedFigure.m b/functions/utilities/exportStandardizedFigure/mainExportStandardizedFigure.m
index 342e2fd..c04e881 100644
--- a/functions/utilities/exportStandardizedFigure/mainExportStandardizedFigure.m
+++ b/functions/utilities/exportStandardizedFigure/mainExportStandardizedFigure.m
@@ -1,6 +1,10 @@
 function mainExportStandardizedFigure
 % exportFigureGUI - GUI for exportStandardizedFigure function
 
+%% Adding to path
+path = regexprep(mfilename("fullpath"), '[^\\/]+$', '');
+addpath(genpath(path));
+
 %% Positioning GUI at screen center
 % Get the screen size
 uifig.screenSize = get(0, 'ScreenSize');  % [left, bottom, width, height]
@@ -46,7 +50,7 @@ figNameField = uieditfield(fig, 'text', 'Position', [150 550 200 30], ...
 %%% Dropdown menu for departement name
 uilabel(fig, 'Text', 'IPT Name:', 'Position', [370 550 100 30]);
 prefixIPTName = {'[]', '[MSA]', '[AER]', '[PRF]', '[RCS]', '[GNC]', '[ARP]', ...
-    '[SWD]', '[ELC]', '[STR]', '[RPS]', '[LPS]', '[AFD]', '[MMC]', '[ROV]'};
+    '[SWD]', '[ELC]', '[STR]', '[RPS]', '[LPS]', '[ASD]', '[MMC]', '[ROV]'};
 prefixIPTNameDropDown = uidropdown(fig, 'Items', prefixIPTName, ...
     'Value', '[]', ...
     'Position', [455 550 80 30], ...
-- 
GitLab