Simulink control design's linearize command will pretty much recognize states for all of Simulink's built-in block types/Simscape network states etc.
Now memory blocks need to be configured as follows to be recognized by linearize:
- The memory block must be driven by a discrete sample time ("Inherit sample time" selected in the block dialog on a discrete signal)
- The block must be "treated as a unit delay when linearized with discrete sample time"
Note, if the memory block is driven by a continuous sample time signal, linearize WILL not recognize that state.
A slighlty easier approach would be to replace all memory blocks with unit delays, as unit delays are ALWAYS treated as discrete.