CATIA-Systems / FMIKit-Simulink

Import and export Functional Mock-up Units with Simulink
Other
157 stars 51 forks source link

source files are added multiple times to <SourceFiles> in modelDescription.xml #339

Closed j-heyden closed 2 years ago

j-heyden commented 2 years ago

when using the develop branch and Matlab 2021b, some source files appear multiple times in the modelDescription.xml when a source code FMU is generated. It looks like the number of replications is dependant on how often the *.c file is used in s-Functions in the model.

Please make the entrys in < SourceFiles > appear only once again.