Why do I receive an error saying "MCommand 'Copy' Failed" when I copy blocks from the Simulink Library Browser into my model in R2012b?

1 view (last 30 days)
I am trying to copy a block from the SimPowerSystems/Machines library into a new model, but I receive the following error message:
MCommand 'Copy' Failed
I'm not sure what is causing this. I can copy blocks from other libraries just fine, and I am sure that I have SimPowerSystems on my license. How can I fix this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Oct 2013
This is likely an issue with the MATLAB path or toolbox cache. To rectify this, please enter the following commands at the MATLAB command line:
restoredefaultpath
rehash toolboxcache

More Answers (0)

Categories

Find more on Electrical Sensors in Help Center and File Exchange

Products


Release

R2012b

Community Treasure Hunt

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

Start Hunting!