Hi all,
I'm trying to alter AWE input variables via MATLAB, and am having trouble getting the GSYS to update.
I can load the GSYS from AWE, check a value (in this case starting value 5700), but when I try to write a new value to the same place in the struct it doesn't seem to work.
I get the same result whether AWE is running or not.
The help section on this makes it seem straightforward. Any ideas/tips?
MATLAB commands I'm using as follows:
>> GSYS.SYS.module{1, 17}.variable{1, 1}.value
ans =
5700
>> GSYS.SYS.module{1, 17}.variable{1, 1}.value(1, 1)=4567;
>> GSYS.SYS.module{1, 17}.variable{1, 1}.value
ans =
5700
>> GSYS.SYS.module{1, 17}.variable{1, 1}.value=4567;
>> GSYS.SYS.module{1, 17}.variable{1, 1}.value
ans =
5700
>> set_gsys(GSYS, 'Virt_Trans_04.awj');
>> GSYS.SYS.module{1, 17}.variable{1, 1}.value
ans =
5700