03/12/2019 at 10:06 PM #6967 andreashornKeymaster Hi Maria, yes, the export code.. button doesn’t help you there. But you’re right that the ea_genvat_*.m files should work. You can generate an options struct by using options=ea_getptopts(‘/path/to/your/patient/’); Best, Andy