Simulink Projects dependency analysis of mex file doesn't show all required C source files
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Amr Nagaty
am 4 Mai 2020
Beantwortet: Jason Nicholson
am 5 Mai 2020
I created an S-Function using the Legacy Code Tool. My S-Function C file wrapper calls my core C functions located in a different source file. Simulink Projects dependency graph shows that the S-Function C file wrapper is required by the derived mex. However, it doesn't go a level deeper to show that my source files are required by the S-Function C file wrapper. Hence, the impact analysis is incomplete. For example, if I modify my core source file, Simulink Projects is unaware that the mex file needs to be regenerated.
How can I fix this issue?
0 Kommentare
Akzeptierte Antwort
Jason Nicholson
am 5 Mai 2020
File an enhancement request with Mathworks. However, I don't think they want to support the Dependency analysis of C/C++ files because of the massive difficulty of resolving dependencies in the C++ language.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dependency Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!