qc_get_default_model_uri qc_get_default_target_uri navigation bar

Table of Contents

qc_set_default_model_uri

Sets the default model URI for a particular target type.

Syntax

qc_set_default_model_uri(target_type, uri)  % set default URI for specified target type
qc_set_default_model_uri(uri)               % set default URI for default target type
    

Description

Sets the default URI used for communicating with a model that is configured for the given target type. This default may be retrieved using qc_get_default_model_uri. The default setting is persistent across Matlab sessions. If the %m format specifier is present in the URI then it will be replaced with the model name when the URI is used.

If no argument is specified than the default model URI associated with the default target type is configured.

Parameters

target_type

A string containing a valid QUARC target type eg. 'windows' or 'qnx_x86'.

uri

A string containing the URI to use as the default model URI for the given target type.

Outputs

This function has no outputs.

Examples

% Sets the default model URI for the QUARC QNX x86 target to 'tcpip://192.168.0.18:17001'
qc_set_default_model_uri('qnx_x86', 'tcpip://192.168.0.18:17001');
    

See Also

 

navigation bar