Start of trail Target Interaction and Simulation Functions navigation bar

Table of Contents > QUARC > User's Guide > QUARC MATLAB Functions > Functions - By Category > Function Categories

Configuration and Verification Functions

There are numerous MATLAB functions provided by QUARC to get information about the installation of QUARC, such as the version, as well as functions for configuring the default preferences for QUARC and for individual models.

QUARC Configuration Functions

quarc_setup

Sets up QUARC or removes QUARC from the current Matlab version.

qc_build_libraries

Builds the standard Simulink Coder libraries for licensed QUARC targets.

qc_build_script

Builds a MATLAB script for a target.

qc_clean_libraries

Removes the standard Simulink Coder libraries for licensed QUARC targets.

qc_root

Returns the installation directory for QUARC.

qc_get_default_target_type

Returns the default target type for QUARC.

qc_set_default_target_type

Sets the default target type for QUARC.

qc_get_default_model_copy

Returns the default filename to which to copy models.

qc_set_default_model_copy

Sets the default filename to which to copy models.

qc_get_default_model_log

Returns the default filename for model logs.

qc_set_default_model_log

Sets the default filename for model logs.

qc_get_default_model_uri

Returns the default model URI for the given target type.

qc_set_default_model_uri

Sets the default model URI for a particular target type.

qc_get_default_target_uri

Returns the default target URI for a particular protocol or model URI.

qc_set_default_target_uri

Sets the default target URI for a particular protocol or model URL.

qc_get_default_compiler

Returns the default compiler for a particular target type.

qc_set_default_compiler

Sets the default compiler for a particular target type.

qc_get_fonts

Gets information about the fonts installed on the system.

qc_get_languages

Returns a structure array of the languages available on the current (host) machine.

qc_get_num_cpus

Returns the number of CPUs on the current (host) machine.

qc_set_options

Sets the model options for QUARC.

qc_set_priority

Sets the priority of the MATLAB process and/or thread on the host.

qc_get_target_types

Returns a cell array of the valid target types for QUARC.

qc_get_compilers

Returns a cell array of the valid compilers for a particular target type.

qc_get_uri_dialog

Open a dialog box to get a communications URI.

qc_get_valid_target_protocols

Returns a list of the communications protocols that may be used in a target URI.

qc_get_version

Returns a structure containing version information for QUARC.

qc_get_voices

Returns a structure array of the voices available for speech synthesis.

qc_is_big_endian

Returns true if MATLAB is running on a big endian platform and false otherwise.

Model Configuration Functions

qc_get_config_string

Returns the value from a configuration string corresponding to a configuration set.

qc_get_config_strings

Returns all the values stored in a configuration string.

qc_set_config_string

Sets the value in a configuration string corresponding to a configuration set.

qc_get_config_variable

Returns the value of a variable stored in the configuration set.

qc_set_config_variable

Stores a variable in a configuration set.

qc_get_model_arguments

Returns the model arguments for the given model or configuration set.

qc_set_model_arguments

Sets the model arguments for the given model or configuration set.

qc_get_model_copy

Returns the filename, if any, to which to copy the given model for logging purposes.

qc_set_model_copy

Sets the filename to which to copy the given model for logging purposes.

qc_get_model_extension

Returns the extension used for generated code for the given model or configuration set.

qc_get_model_log

Returns the filename of the log for the given model or configuration set.

qc_set_model_log

Sets the filename of the log for the given model or configuration set.

qc_get_model_uri

Returns the model URI for the given model or configuration set.

qc_set_model_uri

Sets the model URI for the given model or configuration set.

qc_get_step_size

Returns the step size of the model.

qc_get_target_type

Returns the target type for the given model or configuration set.

qc_set_target_type

Sets the target type for the given model or configuration set.

qc_get_target_uri

Returns the target URI for the given model or configuration set.

qc_convert_model_non_toolchain

Converts a model from using QUARC toolchain-based targets to non-toolchain-based targets.

Upgrading Blocks

qc_upgrade_blocks

Upgrades blocks in a model from a previous version of QUARC (fixes broken links).

Verification Functions

qc_is_target_type

Returns true if the argument defines a valid QUARC target type.

qc_is_model

Returns true if the argument is a Simulink model. Otherwise returns false.

qc_check_model

Checks for problematic Simulink blocks.

 

navigation bar