Complete build in SLRT

1 vue (au cours des 30 derniers jours)
James Brown
James Brown le 20 Août 2014
Commenté : James Brown le 6 Mai 2015
How can I force a complete (not incremental) build in SLRT? For example, if I edit an include file, referenced by my C sfunction, the build utility will not recognize the need for a recompile unless I touch the sfunction's C source file. Can I set an option that forces a complete build regardless of the dates the files are modified?

Réponses (1)

Suneesh
Suneesh le 21 Août 2014
  1 commentaire
James Brown
James Brown le 6 Mai 2015
Does Mathworks have any plans to include a 'Complete Build' option? We should have that capability. For now, I've written a script that uses bdroot to get the name of the current model. From that, the script constructs commands to delete all folders and supporting files related to that model. The script also deletes the slprj folder. After running this script, a subsequent build will be 100% fresh.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by