hi,
i would like to save my model parameters to xml without having to use the gui modelviewer, i.e. by simply using hoc code.
is there any description, turorial on that out there? couldn't find any...
many thanks for some help!
cheers
ullrich
save model parameter to xml from hoc
No documentation. You can explicitly do the same thing the gui is doing without the gui by (the following assumes you have a model loaded):
Code: Select all
load_file("mview.hoc")
objref mv
mv = new ModelView(0)
mv.xml = new ModelViewXML(mv)
mv.xml.xport("temp.xml")