Table of Contents
qc_set_default_model_copy
Sets the default filename to which models are copied.
qc_set_default_model_copy(filename) % set default filename to which models are copied
Sets the default filename to which to models are copied as part of QUARC's model logging capabilities. To disable automatic model copying then set the filename to the empty string.
The following format specifiers are replaced in the copy filename with the appropriate values when the filename is used:
Format Specifier |
Description |
||||||
---|---|---|---|---|---|---|---|
%d |
the current Matlab directory in quotes e.g. "C:\Documents and Settings\myname\My Documents\MATLAB" |
||||||
%D |
the current Matlab directory using short filenames (PC) or escaped spaces (UNIX) e.g. "C:\Docume~1\myname\MyDocu~1\MATLAB" (requires Simulink Coder) |
||||||
%m |
the model name e.g. mymodel |
||||||
%q |
replaced with a double quote (since MATLAB does not accept double quote characters) |
||||||
%t |
the target type for the given model or configuration set (e.g. windows, qnx_x86, etc.) |
||||||
%(var) |
the value of environment variable 'var' (on the host!) e.g. %(HOME) |
||||||
%{expr} |
the value of a MATLAB expression as a string. For example:
|
The default filename for model copies may be retrieved using the qc_get_default_model_copy command.
filename
A string containing the filename to which models are copied by default, as part of QUARC's model logging feature.
This function has no outputs.
qc_set_default_model_copy(filename); % Sets the default filename to which models are copied
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.