Han,
The SimPowerSystems library contains voltage and current measurement blocks that output a Simulink signal. You could easily recreate what I have done by putting these blocks under the mask. You’ll also have to remove the PS->S block since it is not needed for SimPower.
Tom,
Great stuff.
However, can you release an update for 2012b? In 2012b when evaluating the OpenFcn callback it tries to do close_system(gcs) which generates an error if the probe is at the top level of a model. If it is not at the top level of the model then it does not produce an error but it goes to the top-level of the model. You then have to use the back button to get back to your original spot.
Han,
The SimPowerSystems library contains voltage and current measurement blocks that output a Simulink signal. You could easily recreate what I have done by putting these blocks under the mask. You’ll also have to remove the PS->S block since it is not needed for SimPower.
Tom,
Great stuff.
However, can you release an update for 2012b? In 2012b when evaluating the OpenFcn callback it tries to do close_system(gcs) which generates an error if the probe is at the top level of a model. If it is not at the top level of the model then it does not produce an error but it goes to the top-level of the model. You then have to use the back button to get back to your original spot.
Thanks,
Aditya
Comment only
16 Oct 2012
DC Motor with Thermal Effects
Demonstrates how to use the Simscape™ language to model a DC motor with thermal effects.
Han,
The SimPowerSystems library contains voltage and current measurement blocks that output a Simulink signal. You could easily recreate what I have done by putting these blocks under the mask. You’ll also have to remove the PS->S block since it is not needed for SimPower.
Comment only