| Contents | Index |
Changed = slIsFileChangedOnDisk('sys')
Changed = slIsFileChangedOnDisk('sys') Returns true if the file which contains block diagram sys was changed on disk since the block diagram was loaded.
To ensure that code is not generated for a model whose file has changed on disk since it was loaded, include the following in the 'entry' section of the STF_make_rtw_hook.m file:
if (slIsFileChangedOnDisk(sys))
error('File has changed on disk since it was loaded. Aborting code generation.');
end
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |