Complete build in SLRT

3 views (last 30 days)
James Brown
James Brown on 20 Aug 2014
Commented: James Brown on 6 May 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?

Answers (1)

Suneesh
Suneesh on 21 Aug 2014
  1 Comment
James Brown
James Brown on 6 May 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!