필터 지우기
필터 지우기

Custom Library creation issue

조회 수: 22 (최근 30일)
Joseph Stalin
Joseph Stalin 2016년 8월 16일
답변: Chris Wiak 2016년 9월 16일
I am trying to create a library block and want it to appear in the Simulink library browser..
(following the steps told in http://uk.mathworks.com/help/simulink/ug/adding-libraries-to-the-library-browser.html)
when I type... set_param(gcs,'EnableLBRepository','on'); it throws following error.. block_diagram does not have a parameter named 'EnableLBRepository' Please help me to solve this..
regards, Joseph

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2016년 8월 16일
편집: Fangjun Jiang 2016년 8월 16일
The document is for MATLAB R2016a.
I tried in MATLAB R2015b. It seems working, no errors.
When I tried in MATLAB R2012a. There is the error. block_diagram does not have a parameter named 'EnableLBRepository'
What version of MATLAB are you using? Make sure it is the right version. Run "doc" and search for "EnableLBRepository" to see if your MATLAB version supports this method. In earlier versions of MATLAB/Simulink, you can still add customized library to the Simulink browser.

Chris Wiak
Chris Wiak 2016년 9월 16일
I am facing the same problem with Matlab 2016b (was working fine with Matlab 2016a and 2015b).

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by