fix typos and add comments
Compare changes
+ 34
− 29
@@ -4,18 +4,26 @@ function Publish(DataPaths,scriptPath, figure, options)
@@ -23,11 +31,11 @@ arguments
@@ -38,7 +46,7 @@ if ~iscell(DataPaths)
@@ -52,7 +60,7 @@ end
@@ -68,7 +76,7 @@ end
@@ -80,7 +88,7 @@ end
@@ -89,10 +97,9 @@ if isfield(configObj.configData, 'options')
@@ -103,7 +110,7 @@ switch options.Location
@@ -120,16 +127,16 @@ switch options.Location
@@ -145,7 +152,7 @@ if isfolder(fullfile(storPath,folderNameV))
@@ -162,13 +169,13 @@ dlgObj.userMSG(msg);
@@ -229,7 +236,7 @@ exportPath = fullfile(storPath,folderName);
@@ -259,12 +266,12 @@ catch
@@ -272,8 +279,7 @@ if dlgObj.success || options.ForcePublish
@@ -286,9 +292,8 @@ if options.CSV