We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c89673 commit e925fa1Copy full SHA for e925fa1
plotly/plotly_setup_aux/plotlyupdate.m
@@ -72,6 +72,7 @@ function plotlyupdate(varargin)
72
73
% find the location of all plotly/ directories
74
dircount = 1;
75
+plotlyDirs = {};
76
for d = 1:length(plotlyScriptDirs)
77
%parse filepath string at the Plotly directory
78
plotlyLoc = strfind(fileparts(plotlyScriptDirs{d}),fullfile('MATLAB-api-master','plotly'));
@@ -84,6 +85,10 @@ function plotlyupdate(varargin)
84
85
dircount = dircount + 1;
86
end
87
88
+if isempty(plotlyDirs)
89
+ error('It seems your plotly wrapper directory structure has changed. Update aborted.');
90
+end
91
+
92
%----update if necessary----%
93
if strcmp(pvLocal,pvRemote)
94
fprintf(['\nYour Plotly API MATLAB Library v.' pvRemote ' is already up to date! \n\n'])
0 commit comments