Numerical glitches

Hi In Kwon : ). So you will know more about this topic than some others.

  1. In this case you actually need to go to the PLECS Preferences (not Simulink) from the Simulation menu while having the PLECS Circuit window active and change the state-space type from Continuous to Discrete. You also have access to the two discretization methods we provide in that window as well.

  2. Yes, you can extract the state-space matrices via the MATLAB command line. Please go to the PLECS Online Help (or User Manual), navigate to the Analysis Tools chapter, and at the bottom, you will find within the “Usage in PLECS Blockset” section a description of how this works and the commands syntax.

Let me know if you are able to find these items.

Regards,

Kris