Some globals in GridLAB-D are read-only and should not be copied back from matlab after a call is completed. Only writeable globals should be copied back.