Simulink: Error: Unable to load a message catalog 'physmod:p​owersys:po​wersys'

6 views (last 30 days)
Hello everybody,
I’m currently working on a motor drive using the AC7 brushless DC motor drive block from the Simscape Specialized Technology library (AC drives). I’ve changed some blocks inside the AC7 to adjust the model. So when I try to change the parameters (double click on the AC7) I get the following error message:
Error evaluating ‘OpenFcn’ callback of Brushless DC Motor Drive block (mask) ‘Modelname/Brushless DC Motor Drive’. Unable to load a message catalog ‘physmod:powersys:powersys’. Please check the file location and format.
At first I ignored the message because I can still run the simulation and everything works fine. But now I’m trying to change the PMSM parameters of the AC7 block. When I try to run the simulation with the new parameters this similar error message pops up in the Diagnostic Viewer:
Error in ‘Modelname/Brushless DC Motor Drive’: Initialization cannot be evaluated. Caused by: Unable to load a message catalog ‘physmod:powersys:powersys’. Please check the file location and format.
I’m not able to run the simulation anymore. Can anyone help me? I could not find a solution so far… (Matlab R2016a)

Answers (1)

Joel Van Sickel
Joel Van Sickel on 18 Aug 2021
This is part of an effort to clean up Matlab Answers, unfortunately this answer is too late for the asker:
This is a very real posibility of modifying existing components. The powergui has a button in that lets you customize an existing component. This can be used to help disconnect some connections, but the reality is that there are a lot of callback functions inside these blocks, so if you change too much, it might be looking for something that it cannot find and break. At this point, it's better to build a new block from scratch. These blocks particularly are even harder to modify as they have many linked blocks internally.
Regards,
Joel
  1 Comment
chagamreddy venkata subba reddy
i am unable run predifeined electrical drives block and it is showing physmod:powersys:drives:InvalidGUIInput error

Sign in to comment.

Categories

Find more on Specialized Power Systems in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!