|
When I tried to calculate an OPA stage with the noise-switch set to on ('noise', 1, ) I got the following error message (I put a slightly longer part of the terminal messages from Matlab):
computation time constants OPA1_1 0.00014 s
computation time constants OPA1_1 0.19633 s
computation time constants OPA1_1 0.000137 s
computation time constants OPA1_1 0.000132 s
computation time constants OPA1_1 0.000209 s
computation time electircal fields OPA1_1 11.3196 s
No appropriate method, property, or field 'ConstVars' for class 'chi3D'.
Error in chi3D
Error in chi3D
Error in chi3D/run
Error in fOPA1_1 (line 96)
[E_ftfxfy_o,E_ftfxfy_e]=run(obj,{'field1','Eftfxfy',E_ftfxfy_e_OPA1pump},{'pulse2'});
Error in OPA_FLASH1c (line 82)
[E_ftfxfy_o_OPA1_2_seed,E_ftfxfy_e_OPA1_1_p_res, obj_OPA1_1] = fOPA1_1(obj_temp2, E_ftfxfy_temp2, [shiftP_x, shiftP_y; 0,0]);
>> obj_temp2
obj_temp2 =
chi3D with properties:
version: 'v1.0018'
constVars: [1x1 struct]
constVect: [1x1 struct]
simProp: [1x1 struct]
simResults: [1x1 struct]
beamProp: [1x1 struct]
detectors: [1x1 struct]
From the last lines where I printed out the properties of an chi3D object it becomes clear that ConstVars was misspelled. But I don't have a call to this property in my Matlab scripts "OPA_FLASH1c.m " and " fOPA1_1.m".
How can I prevent getting this error message and continue the OPA calculation?
|