Why do I receive an error when using the Voltage Measurement block in SimPowerSystems 2.3 (R13.0.1)?

8 views (last 30 days)
I have created a Simulink model using SimPowerSystems blocks. When I update the diagram or try to simulate the model, I receive the following error regarding the Voltage Measurement block:
Error evaluating 'InitFcn' callback of Voltage Measurement block (mask) 'Voltage Measurement'. Error using ==> get_param
block_diagram does not have a parameter named 'PortConnectivity'

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Jun 2011
This problem has been fixed in SimPowerSystems 3.0 (R13.0.1+).
If you are using a previous version, read the following:
This is a bug in SimPowerSystems 2.3 (R13.0.1) in the way that the SimPowerSystems handles inputs from Simulink blocks in other libraries.
To work around this issue, try inserting a unity Gain block before the input port of the Voltage Measurement block.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!