Complete build in SLRT

1 visualizzazione (ultimi 30 giorni)
James Brown
James Brown il 20 Ago 2014
Commentato: James Brown il 6 Mag 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?

Risposte (1)

Suneesh
Suneesh il 21 Ago 2014
  1 Commento
James Brown
James Brown il 6 Mag 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.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by