Info

This question is closed. Reopen it to edit or answer.

libraries links needs to be modified via script

1 view (last 30 days)
Hello All,
I'm trying for code generation and i'm facing problem with the library version issue. I have a matlab model which had 2 library blocks inside it.
For Example: Folder "Fldr_Ver1" contains library files "file_a.slx" and "file_b.slx" Similarly, Folder "Fldr_Ver2" contains library files "file_a.slx" and "file_b.slx"
Both the folders are in matlab path and my model is linked with the library files present in the folder "Fldr_Ver1". Is there a way to change the library links to the files present in folder "Fldr_Ver2" via m-scripting.
I need to do this via scripting, since I will be switching between 2 different versions of the same file as per my requirement
Thanks in advance, Renish R

Answers (0)

Community Treasure Hunt

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

Start Hunting!