How do I push component changes from test harness to model library?

조회 수: 1 (최근 30일)
Ravi
Ravi 2023년 5월 1일
답변: Vinayak 2023년 5월 22일
Hi there,
I am using Simulink test for my project.
Simulink model has a few library blocks (it's a user library created by using simulink library components).
I created a test harness from Simulink Model and made changes in library blocks. I am trying to push test harness changes into my model library but I am not able to see changes.
Could you please suggest any way to do this?
Thank you.

답변 (1개)

Vinayak
Vinayak 2023년 5월 22일
To sync changes to the test harness,
  1. Open the model that contains the library you want to update, and open the library browser.
  2. In the library browser, select the library that you want to update.
  3. Right-click the library and select Source Control > Update Library from Source Control. This will update the library with the most recent changes available in the source control system.
  4. Alternatively, if you have made changes to the library blocks using the test harness, you can save the changes directly to the library by right-clicking the block in the test harness and selecting "Create Library Block". This will prompt you to select a destination library for the block. Select the library that you want to update and save the block to that library.
  5. If the library block you saved already exists in the library, you'll be prompted to overwrite it. Click "Yes" to overwrite the existing block with the new changes.

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by