quarc_setup qc_clean_libraries navigation bar

Table of Contents

qc_build_libraries

Deprecated

This function has been deprecated. It is only useful for MATLAB R2007b and earlier.

Builds the standard Simulink Coder library for licensed QUARC targets.

Syntax

num_built = qc_build_libraries(target_type, option) % Build RTW libraries for the specified target, with options
num_built = qc_build_libraries(target_type)         % Build RTW libraries for the specified target
num_built = qc_build_libraries(option)              % Build RTW libraries for all licensed targets, with options
num_built = qc_build_libraries                      % Build RTW libraries for all licensed targets
    

Description

Builds the standard Simulink Coder libraries for licensed QUARC targets. This library is typically called rtwlib.lib or rtwlib.a. It builds both debug and release versions for each target. If a library has already been built then it does not rebuild it. Once these libraries are built, it should not be necessary to build them again unless the QUARC/Clean Libraries menu item has been selected to delete the libraries. These libraries must be built to generate code for the QUARC targets that require it, such as the QUARC Windows target and QUARC QNX x86 target.

If no target type is specified then the standard Simulink Coder libraries are built for all licensed QUARC targets.

This command is equivalent to selecting Build Libraries from the QUARC menu of the Simulink model.

Parameters

target_type

A string indicating the target for which to build the libraries. May be set to 'all' to build the libraries for all licensed QUARC targets.

option

A string indicating an option. The line option currently supported is 'force', which forces it to rebuild the libraries for the given QUARC targets.

Outputs

num_built

The number of target types for which libraries were actually built.

Examples

qc_build_libraries;            % Build all the libraries required to generate code.
qc_build_libraries('windows'); % Build libraries for the QUARC Windows target.
    

See Also

 

navigation bar