I made some changes to my Simscape library (including changes to the file names and to the block names). When I run 'ssc_build', my models using this library have broken links. How can I transition my library?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2019년 7월 31일

0 개 추천

Forwarding tables are the best solution to transition your libraries while keeping a backward compatibility:
In their basic form, you need to provide the old block path and the new block path. However, if you have made some changes to the block name while keeping the same block path, you will need to:
  1. Specify a version number in the forwarding table
  2. Create a transformation function to describe this change
You can find an example describing this attached to this post. The two important files are:
  • 'makeMyLibrary' which defines the forwarding table programmatically
  • 'myTransformationFunction' which defines the change in the block path

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Foundation and Custom Domains에 대해 자세히 알아보기

제품

릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by