Editing Subject Anatomy in a for loop

I can’t find any documentation for how I make a for loop that edits the individual subjects on the anatomy pane. I want to change the option from “No, use individual anatomy” to “Yes, use default anatomy” for all subjects. How can I do this?

Best
Darren

Hello,

This is not a property designed to be edited after creating the subjects, therefore there is no easy solution for editing it from a script. If you change the anatomy, all the registrations of the sensors (MEG or EEG) will be broken, because all the channel files are aligned on the NAS/LPA/RPA files as defined in the MRI.

I don’t see any use case for what you are requesting, but if you really want to do something like this, you can find the code you need in function gui_edit_protocol.m

Francois