Start of trail Configuration and Verification Functions navigation bar

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

Target Interaction and Simulation Functions

QUARC provides a full suite of functions for building, downloading, running and stopping real-time code, as well as remotely managing that code on the target system.

Model Functions

qc_build_model

Builds the code for a model and downloads it to a QUARC target.

qc_clean_model

Removes generated code for a model in preparation for a fresh build.

qc_download_model

Downloads the generated code for a model to a QUARC target.

qc_get_downloaded_models

Retrieves a list of the models that have been downloaded to a QUARC target.

qc_remove_downloaded_model

Deletes a previously downloaded model on a QUARC target.

qc_load_model

Loads the generated code for a model on a QUARC target.

qc_load_model_at_boot

Configure a model to load when a QUARC target boots.

qc_get_loaded_models

Retrieves a list of the models that are loaded on a QUARC target.

qc_get_models_loaded_at_boot

Retrieves a list of the models that are loaded on a QUARC target at boot.

qc_remove_model_loaded_at_boot

Removes a model from the list of models loaded on a QUARC target at boot.

qc_is_model_loaded

Determines whether a particular model is loaded on a QUARC target.

qc_simulate_load_model

Simulates loading a model.

qc_simulate_switch_to_model

Simulates switching in one model while switching out another.

qc_switch_to_model

Switches in one model on a target while switching out another on the fly.

qc_connect_model

Connects a model to it's real-time code on a target in external mode.

qc_start_model

Starts a model in normal or external mode.

qc_stop_model

Stops and disconnects a model in normal or external mode.

qc_kill_model

Forcefully terminates a model (NOT RECOMMENDED).

qc_disconnect_model

Disconnects a model from it's real-time code on a target in external mode.

qc_get_simulation_mode

Gets the simulation mode of the model (normal or external).

qc_set_simulation_mode

Sets the simulation mode of the model (normal or external).

qc_get_simulation_status

Gets the simulation status of the model (running, external, etc.)

qc_update_model

Updates a model diagram, propagating workspace variable changes to real-time code.

qc_model_console

Opens a console to monitor the model's standard I/O as it runs on a QUARC target.

Script Functions

qc_build_script

Builds a MATLAB script for a target.

qc_run_script

Downloads and runs a script executable on a target.

qc_script_console

Opens a console to monitor a script executable's standard input and output.

Target Functions

qc_add_target_uri

Causes a QUARC target to start serving on a particular URI.

qc_get_target_uris

Returns a list of all the URIs that may be used to connect to a target.

qc_remove_target_uri

Stops a QUARC target from serving on a particular URI.

qc_get_target_description

Returns a description of the target for the given model or configuration set.

qc_get_target_version

Returns the version of QUARC installed on the target.

qc_get_remote_target_type

Returns the type of target associated with a particular URI.

qc_open_target_dialog

Opens a dialog for managing remote targets.

qc_find_targets

Finds QUARC targets on the local network.

 

navigation bar