Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Dependency report for a mixed code of Matlab and Simuilink model

조회 수: 3 (최근 30일)
Noam Greenboim
Noam Greenboim 2015년 3월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a Matlab code that calls several Simulink models. There are not a few functions involved, and some .fis files and .mat files.
I am looking for a way to have a detailed dependency report.
So far, I found this function:
matlab.codetools.requiredFilesAndProducts
It's not bad, but it misses the Simulink models (and Simulink as a product), and it doesn't give any indication about files other than .m files.
What is the best way to do that?

답변 (1개)

Sebastian Castro
Sebastian Castro 2015년 3월 29일
You can generate Model Manifests from Simulink models, which gives you all this information.
Given that your "top-level" artifact is a MATLAB file and not a model, it might be worth putting all the files you need into a Simulink Project . Then, you can run a Dependency analysis on the whole folder. This should pick up all sorts of different file types as dependencies.
- Sebastian

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by