Customized Library version management
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jannik Heuermann
le 14 Juil 2022
Commenté : Jannik Heuermann
le 16 Juil 2022
Hello,
I would like to create a library in Simulink with the possibility of version management of the individual blocks in the library.
I have already implemented a library. However, if I make a change to one block, it immediately affects all my models. But I don't want this to happen automatically. I would like to be able to decide whether the block in my model should apply the change or not. In the library itself, however, I only want the latest version to be displayed.
So my question is whether anyone already has experience with the Simulink library and versioning and can give me a tip.
0 commentaires
Réponse acceptée
Benjamin Thompson
le 14 Juil 2022
Modifié(e) : Benjamin Thompson
le 14 Juil 2022
Simulink libraries just have one version number for the whole thing just like Simulink model files. You can not version each block in a library separately. If you have a model using a library block, you can disable that library link and modify the block in the model using it. Then Simulink will have a push or restore option that you can choose when it comes times to decide whether to have your model continue using the modified library block, push that modified block to the library to make the change permanent, or revert the change to use the library block.
3 commentaires
Benjamin Thompson
le 15 Juil 2022
You can lock links to a library, but not to a specific block in the library. Or, make the block in a library on its own.
Are you trying to prevent users from making changes or from seeing the block implementation at all?
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!