Why do I receive an error when using the Breaker block with my SimPowerSystems model in Simulink 6.2 (R14SP2)?

1 view (last 30 days)
I created a model using the Breaker block in SimPowerSystems 4.0 (R14SP1). When I load this model into R14SP2, I received the following message in the Simulink error dialog:
Subscript Indices must be either real positive integers or logicals.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
We have verified that there is a bug in SimPowerSystems 4.0.1 (R14SP2) in the way Breaker blocks from earlier versions are handled if the link to the SimPowerSystems library has been disabled. There are two approaches to working around this issue:
1. Right-click on the blocks in question and select Link Options->Restore Link.
2. Use the PSBUPDATE command from the command prompt to restore all disabled library links for SimPowerSystems blocks. An example of the syntax is:
psbupdate my_model
In the above example, "my_model" is the name of your Simulink model.

More Answers (0)

Products


Release

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!