MATLAB Answers

0

Complete build in SLRT

Asked by James Brown on 20 Aug 2014
Latest activity Commented on by 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?

  0 Comments

Sign in to comment.

1 Answer

Suneesh
Answer by Suneesh
on 21 Aug 2014

  1 Comment

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.