Open davestanley opened 5 years ago
Issue is here. One of the mechanisms is empty
K>> mech
mech =
'iCaL'
K>> {spec.(object)(i).mechanisms.name}
ans =
1×4 cell array
{'FSiNaF'} {'FSiKDR'} {0×0 double} {'IBiM'}
Population in question:
K>> spec.populations(3)
ans =
struct with fields:
name: 'supSI'
size: 20
equations: ';dV/dt=(Iapp+@current)./Cm; V(0)=-65; gNaF=+100.00000000; gKDR=+80.00000000; Cm=+0.90000000; gleak=+0.10000000; gM=+8.00000000; gCaL=+0.00000000; Iapp=-1.00000000;'
mechanism_list: {'FSiNaF@current' 'FSiKDR@current' 'ileak@current' 'IBiM@current' 'iCaL@current'}
mechanisms: [1×4 struct]
parameters: {1×22 cell}
conditionals: []
monitors: []
model: []
Missing mechanism
K>> spec.populations(3).mechanisms
ans =
1×4 struct array with fields:
name
equations
K>> spec.populations(3).mechanisms
ans =
1×4 struct array with fields:
name
equations
K>> spec.populations(3).mechanisms.name
ans =
'FSiNaF'
ans =
'FSiKDR'
ans =
[]
ans =
'IBiM'
Setup sim struct
Run