필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
Slimeni Omar
Slimeni Omar 2020년 2월 25일
답변: Monika Jaskolka 2020년 3월 4일
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 !!

답변 (1개)

Monika Jaskolka
Monika Jaskolka 2020년 3월 4일
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.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2010a

Community Treasure Hunt

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

Start Hunting!

Translated by