sg-s / xolotl

A MATLAB neuron simulator. Very fast (written in C++). Flexible (fully object oriented). Immediate (live manipulation in MATLAB). Comes with a powerful parameter optimizer. Get started ➡️
https://go.brandeis.edu/xolotl
GNU General Public License v3.0
44 stars 8 forks source link

Add corelib.assert to package #495

Closed alec-hoyland closed 4 years ago

alec-hoyland commented 4 years ago

corelib.assert isn't in srinivas.gs_mtools/master.

>> p = twoComp.setup();
Undefined variable "corelib" or class "corelib.assert".

Error in xolotl/add (line 49)
corelib.assert(nargin > 2,'xolotl:add:no_label',msg)

Error in xolotl.examples.TwoCompartmentBurster (line 21)
x.add('compartment','CellBody','radius',r_soma,'len',L_soma,'Ca_out',3000,'tree_idx',0,'shell_thickness',shell_thickness);

Error in twoComp.setup (line 4)
x = xolotl.examples.TwoCompartmentBurster;
sg-s commented 4 years ago

yeah, pull from mtools...