Create a folder in the MATLAB path for the top-levellibrary and its sublibraries. You must store each top-level library that you want to appearin the Library Browser in its own folder on the MATLAB path.Two top-level libraries cannot exist in the same folder.
Create or copy the top-level library and its sublibrariesinto the folder you created in the MATLAB path.
In the folder for the top-level library, include a slblocks.m file. The approach you use to create the slblocks.m filedepends on your requirements for describing the library:
If a minimal slblocks.m file meetsyour needs, then create a new slblocks.m file,based on the example below
If you want to describe the library more fully, considercopying an existing slblocks.m file to use as a template, editingthe copy to describe your library (see below).
Creating function blkStruct = slblocks
% Specify that the product should appear in the library browser
% and be cached in its repository
Browser.Library = 'mylib';
Browser.Name = 'My Library';
blkStruct.Browser = Browser;
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다: