Complete build in SLRT

3 次查看(过去 30 天)
James Brown
James Brown 2014-8-20
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?

回答(1 个)

Suneesh
Suneesh 2014-8-21
  1 个评论
James Brown
James Brown 2015-5-6
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.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by