I cannot use the Pre Build configuration to run scripts.
Afficher commentaires plus anciens
Hello everyone.
I have Matlab 2025a with the Embedded Coder toolbox installed and the MinGW toolchain set up. My problem is that in the Model Settings > Code Generation > Custom Code section I can't find the Pre or Post Building option to trigger scripts. Another method that didn't work is in the startup file, where in Post Build I can use: set_param(model, 'PostCodeGenCommand', myScript); but the set_param(model, 'PreCodeGenCommand', myScript); does not work. Do you have any other suggestions? My goal is to press the Build button and run the Pre Build script -> Build -> and so on.......
Thank you in advance.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Generated Code Compilation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!