Does the Dependency Analyzer account for coding logic?

When running the Dependency Analyzer on my MATLAB Project, the "Problems" field says that I have missing toolboxes. With the logic of my code, the function requiring the toolbox isn't even executed. Why do I still receive the warning?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 5월 20일
The Dependency Analyzer ignores the logic of code and analyzes even dead portions of code. For example, analyzing the following portion of code will report Dependency on Simulink.
if false
load_system(vdp)
end

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Naming Conventions에 대해 자세히 알아보기

제품

릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by