Skip to content
Snippets Groups Projects
Commit 7ccd26a1 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

dseries: remove strsplit as it was introduced in Matlab R2013a

parent 21d40f61
Branches
Tags
No related merge requests found
......@@ -293,7 +293,7 @@ t2 = find(d2==tmp.dates);
data = tmp.data;
% Isolate the (potential) parameters in the expression to be evaluated
[~, TMP314] = strsplit(expression,'([0-9]*\.[0-9]*|\w*)','DelimiterType','RegularExpression','CollapseDelimiters',false);
TMP314 = regexp(expression, '([0-9]*\.[0-9]*|\w*)', 'match');
% Here I remove the numbers (TMP314 -> TMP314159).
TMP3141 = regexp(TMP314,'(([0-9]*\.[0-9]*)|([0-9]*))','match');
TMP31415 = find(cellfun(@isempty,TMP3141));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment