function blkStruct = slblocks
%SLBLOCKS Defines a block library.
blkStruct.Name = ['My' sprintf('\n') 'Library'];
blkStruct.OpenFcn = 'mylib';
blkStruct.MaskDisplay = '';
% End of blocks
But when I open Library browser. I can't see "MyLibrary" in Library Browser?
Where am I wrong ? Could you give me an explaination?
Thanks a lot !!
Hi,
the directory where the library is, must be on the MATLAB path, is this the
case?
Titus
I guess the open function should be
blkStruct.OpenFcn = 'MyLibary'; instead of blkStruct.OpenFcn = 'mylib';
try this,
Yann
"Thai LeXuan" <xuan...@vtv.org.vn> wrote in message <gu8rce$5t8$1...@fred.mathworks.com>...