oIdx = oIdx + 1;
+ rtwoptions(oIdx).prompt = 'Print model metadata to SCI at start';
+ rtwoptions(oIdx).type = 'Checkbox';
+ rtwoptions(oIdx).default = 'on';
+ rtwoptions(oIdx).tlcvariable = 'rppPrintMeta';
+ rtwoptions(oIdx).makevariable = 'RPP_PRINT_META';
+ rtwoptions(oIdx).tooltip = ['Print model metadata (model name, compilation time and TLC version) at the start of the model.'];
+ rtwoptions(oIdx).callback = '';
+
+ oIdx = oIdx + 1;
+
+
% Configure code generation settings
rtwgensettings.BuildDirSuffix = '_rpp';
rtwgensettings.Version = '1';
/* Initialize RPP board */
rpp_init();
- #ifdef DEBUG
+ %if rppPrintMeta
%assign model_info = SPRINTF("'%s' - %s (TLC %s)\\r\\n", LibGetMdlPubHdrBaseName(), TLC_TIME, TLC_VERSION)
rpp_sci_printf((const char*)
"%<model_info>"
);
- #endif
+ %endif
/* Initialize model */
%<LibCallModelInitialize()>\