diff --git a/functions/utilities/exportStandardizedFigure/mainExportStandardizedFigure.m b/functions/utilities/exportStandardizedFigure/mainExportStandardizedFigure.m index 342e2fd2071be67cd4baff3aefec5881a4eff980..c04e881acf3ecb19de0cf2f48f341b640107cac3 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], ...