How do I Display a Library in the Library Browser?

4 次查看(过去 30 天)
I've followed the help files and created a library and now I want to be able to access it from the Simulink library browser.
The help file says to create a folder in the Matlab path for the top level library, does this mean the library I'm currently working in or the MATLAB folder in my documents?
I've created the slblocks.m file and placed it in the folder but the library will not display in the browser

回答(1 个)

TAB
TAB 2012-9-21
Matlab path means, the path in which your library model & slblocks.m resides should be in matlab's search path.
Place your library model & slblocks.m in one folder and add path of folder in matlab search path using File >> Set path or using command addpath.

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by