Is it impossible to get/set the state of a Memory block in a Simulink model? When I create the simplest possible model with a Memory block (inport, memory block, outport), none of the Simulink functions which are supposed to identify states in the model can find the state of that Memory block. Simulink.BlockDiagram.getInitialState() and the "model" command both return empty lists of states. Despite the fact that the Memory block actually lets me name its state!
Am I missing something here? This lack of functionality seems pretty destructive to my ability to interrogate my simulation programmatically, which is already incredibly limited as it is.