s function builder source generation location
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I've been using the s function builder for a project and due to a modular design, I currently have 3 wtih plans to expand that as more complicated code is created. The problem is that each s function builder generates source files in the current working directory as stated in the docs here. Each S function builder is generating several files so it clutters up my main directory. I don't mind the mex files being in the main directory and it appears the generated source is not needed after mex files are generated as I can delete them and the simulation will still run without them as long as I don't make changes to the s function builder block.
I've attempted to tell Simulink to generate these files somewhere else using the cache folder and the code generation folder config as described by Simulink.fileGenControl but it seems to ignore those directories entirely. Is there a way to tell the s function builder to generate these files somewhere else? Or, tell it to clean the files up once its done with them? I realize re-generating these can be time consuming but that is worth having a manageable root folder.
0 Kommentare
Antworten (2)
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!