Update runPowerSAS.m

pull/2/head
jianzhe0726 3 years ago committed by GitHub
parent 9b2cba8380
commit 362e442ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@ function res=runPowerSAS(simType,data,options,varargin)
% FUNCTION runPowerSAS
%
% Top-level function for calling PowerSAS
% Author: Rui Yao <ruiyao@ieee.org>
% Author: Rui Yao <ruiyao@ieee.org>
%
% Copyright (C) 2021, UChicago Argonne, LLC. All rights reserved.
%
@ -167,9 +167,9 @@ function options=regulateOptions(options)
if nargin<1
options=[];
end
if ~isfield(options,'dataPath');options.dataPath=[pwd,'/data'];end
if ~isfield(options,'dataPath');options.dataPath=[pwd,'\data'];end
if ~isfield(options,'settingPath');options.settingPath=options.dataPath;end
if ~isfield(options,'dbstop');options.dbstop=0;end
if ~isfield(options,'output');options.output=0;end
if ~isfield(options,'outputPath');options.outputPath=[pwd,'/output'];end
end
if ~isfield(options,'outputPath');options.outputPath=[pwd,'\output'];end
end

Loading…
Cancel
Save