problem with attaching charge density to grid attribute: CHARGE and MODE solver
I am having difficulty in reading the matlab file and adding attributes to the grid. It loads all data sets to worksheet except the charge data which is in structure form.
The code is as follows:
# add data source (np density grid attribute)
matlabload(filename_mzi); # read in charge dataset
importdataset(charge); # attach to grid attribute
Please help me in setting this attribute.
Also how to save the all of the CHARGE solver data and CHARGEMONITOR data in script?