Can I change block into block library ?
이전 댓글 표시
I would like to convert existing simulink blocks into libraries. Is there a MATLAB command line for this?
답변 (1개)
Kaustubha Govind
2012년 3월 23일
You need to create a Library model and then copy your blocks into it.
For example:
>> new_system('myLibrary', 'Library');
>> open_system('myLibrary');
>> add_block('path/to/existing/block1', 'myLibrary/blockName1');
>> add_block('path/to/existing/block2', 'myLibrary/blockName2');
>> save_system('myLibrary');
>> close_system('myLibrary');
카테고리
도움말 센터 및 File Exchange에서 Modeling에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!