필터 지우기
필터 지우기

How do I keep library formats when using ssc_build?

조회 수: 1 (최근 30일)
Bill
Bill 2014년 11월 5일
댓글: Bill 2014년 11월 10일
How do I keep custom Simcape library blocks from reverting to basic block settings each time I use ssc_build? I use scc_build to create a custom Simscape Library, then make the library “pretty” by adding pictures, changing colors, etc. Now if I modify one *.ssc file and redo ssc_build, I lose all my block settings for the whole library. Anyway to avoid this happening or will I need to create a work around?

채택된 답변

Manuel
Manuel 2014년 11월 10일
Hi Bill
you cannot keep Simscape library blocks from reverting to basic block when you regenerate the blocks with ssc_build.
To avoid this, you could create a custom library "myprettylib" where you drag the blocks from your library "mylib" generated by ssc_build. You can customize the appaerance of these blocks, and their content is linked to the original Simscape library "mylib". When you modify the simscape code and regenerate, then "mylib" will be refreshed, but not "myprettylib", so you'll keep the appearence of the block.
Regards, Manuel
  댓글 수: 1
Bill
Bill 2014년 11월 10일
That's too bad, but at least the work around is easy enough. Thanks for the response. - Bill

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Troubleshooting에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by