Skip to content

Commit b8ee0ba

Browse files
committed
move initEnv as "first step" when running expDesign as standalone
1 parent 72fcc69 commit b8ee0ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

subfun/design/expDesign.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@
6565

6666
if nargin < 1 || isempty(cfg)
6767

68+
% make sure we got access to all the required functions and inputs
69+
run('../../initEnv.m');
70+
6871
% ``true`` for MT+ translational localizer
6972
% ``false`` for MT/MST localizer
7073
isMT = false;
@@ -76,9 +79,6 @@
7679
% Get the computed design on a visual representation
7780
displayFigs = 1;
7881

79-
% make sure we got access to all the required functions and inputs
80-
run('../../initEnv.m');
81-
8282
end
8383

8484
fprintf('\n\nComputing the design...\n\n');

0 commit comments

Comments
 (0)