- Open the model that contains the library you want to update, and open the library browser.
- In the library browser, select the library that you want to update.
- 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.
- 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.
- 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.
How do I push component changes from test harness to model library?
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Vinayak
2023-5-22
To sync changes to the test harness,
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Inputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!