We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Here is an example wrapper function for using the results of dsCalcFR to plot firing rate in GV:
dsCalcFR
function resultCell = gvfr(data, varargin) result = dsCalcFRmulti(data,'bin_size',1, 'bin_shift',1); resultCell = {result.soma_V_FR_MUA}; end
Save this in the matlab path, then add gvfr to the dsSimulate call:
gvfr
dsSimulate
dsSimulate(model, 'analysis_functions',{@gvfr});