MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

MatrixX: Choosing non-zero initial states for integrator

I am working with MatrixX version 61.3. The model I'm working on has an integrator block in a continuous superblock, which has "Zero Initial States" set to "Yes". When I change it to "No", and then go back into the block properties I find that it has set itself back to "Yes". Is this a known bug, or is there a reason it won't let me choose "No"? I see other integrator blocks within continuous superblocks in my model which have this flag set to "No", so I'm not sure what the problem could be...
0 Kudos
Message 1 of 2
(6,995 Views)
Nevermind, I found the problem... if you select "No", you must enter a nonzero initial value in the block properties, even if the initial state is specified by a variable. Otherwise the block will set itself back to "Yes".
0 Kudos
Message 2 of 2
(6,996 Views)