I think that adapting the macro at the end of this thread: 
https://groups.google.com/forum/#!searchin/julia-users/unpack/julia-users/IQS2mT1ITwU/gEyj6JNJsuAJ
and getting the fields of your type by using names(CircuitModel) it should 
work. I'll give it a try tomorrow if I have the time.

Reply via email to