Here is the error I got:
Index exceeds the number of array elements. Index must not exceed 0.
Error in dsCheckSpecification (line 536)
sz=cellfun(@str2double,regexp(tmp{1},',','split'));
Error in dsGenerateModel (line 161)
specification = dsCheckSpecification(specification, varargin{:}); % standardize & auto-populate as needed
Error in dsCheckModel (line 106)
model = dsGenerateModel(model, 'stvar_alias_flag', options.stvar_alias_flag);
Error in dsSimulate (line 546)
model = dsCheckModel(model, varargin{:}); % handles conversion when input is a string w/ equations or a DynaSim specification structure
Error in Neur_act_GUI/PlotButtonPushed (line 120)
data=dsSimulate(eqns,'tspan',[0 1000]); % telling dynasim to simulate the eqns [time change = ,'tspan',[0 1000]]
Error while evaluating Button PrivateButtonPushedFcn.