??? There is no block named 'SimPowerSystems/Extra Library/Control Blocks/Timer'.

7 Ansichten (letzte 30 Tage)
i have this error in command window when i try to add simulink block Timer from SimPowerSystems .
add_block('SimPowerSystems/Extra Library/Control Blocks/Timer',timername,'MakeNameUnique','on')
i tried to search the correct path of the block using "gcb" from library
also i tried load_system ('SimPowerSystems')
but the same error figure out .
any help please !!

Antworten (1)

Monika Jaskolka
Monika Jaskolka am 4 Mär. 2020
I don't have R2010a installed, but will try to help.
1) Please ensure you have the SimPowerSystems toolbox installed. You can check what toolboxes you have installed by using the ver command. It should show up on this list. If not, you need to install it. Note that if you are using a newer version of Matlab, this toolbox is now called Simscape Electrical.
2) The path of the library Timer block may be incorrect. In the R2010a documentation shown below, it seems that it is located in SimPowerSystems/Extras/Control Blocks.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2010a

Community Treasure Hunt

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

Start Hunting!

Translated by