Skip to content

Commit

Permalink
Fixed script that creates Data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller01985 committed Oct 15, 2023
1 parent 0f110ae commit 4ce7344
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Workflows/Fault_Sweep/sm_pump_triplex_DOEdata_tocsv.m
Expand Up @@ -5,7 +5,9 @@ function sm_pump_triplex_DOEdata_tocsv(test_Data)
% Copyright 2017-2022 The MathWorks, Inc.

% Make data directory if it doesn't exist
if ~exist('Data', 'dir')

cd(fileparts(which(mfilename')));
if ~(isfolder([pwd filesep 'Data']))
mkdir('Data')
end

Expand Down

0 comments on commit 4ce7344

Please sign in to comment.