How to handle cyclic dependencies with Simulink libraries ?

조회 수: 1 (최근 30일)
Mohamed-Marwan Chawa
Mohamed-Marwan Chawa 2022년 4월 28일
댓글: Mohamed-Marwan Chawa 2022년 5월 8일
We have the following usecase:
We created a library "Std_Lib" that contains certain utilities and is tracked on git, let's say this library has the following versions: V1.0.0, V2.0.0
We created another libraries "Algo1_Lib" that depends on "Std_Lib" V1.0.0 and "Algo2_Lib" that depends on V2.0.0.
We are using git submodule to handle depedency resolution.
However V1.0.0 and V2.0.0 contains the same names, is there any way to handle this in a Simulink project ? That V1.0.0 should be used with Algo1_Lib and V2.0.0 should be used with Algo2_Lib ?
Edit:
S-Function would not be a suitable solution as I want to use the signal size inheritance that can be used with libraries.
  댓글 수: 2
Walter Roberson
Walter Roberson 2022년 4월 28일
If I recall correctly (I might not!!) signal size inheritence can be used with Level-2 S Functions that are programmed appropriately... but it might not be straight-forward.
Mohamed-Marwan Chawa
Mohamed-Marwan Chawa 2022년 5월 8일
Thank you Walter, will give it a try and report back.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by