qc_build_libraries qc_root navigation bar

Table of Contents

qc_clean_libraries

Deprecated

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

Removes the standard Simulink Coder library for licensed QUARC targets in preparation for rebuilding them.

Syntax

qc_clean_libraries(target_type) % Removes Simulink Coder libraries for the specified target
qc_clean_libraries              % Removes Simulink Coder libraries for all licensed targets
    

Description

Removes the standard Simulink Coder libraries for the specified QUARC targets (if licensed). This library is typically called rtwlib.lib or rtwlib.a. It removes both debug and release versions for each target. The libraries will have to be rebuilt using the QUARC/Build Libraries menu item or qc_build_libraries command before code can be generated for a model.

If no target type is specified then the standard RTW libraries are removed for all licensed QUARC targets.

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

Parameters

target_type

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

Outputs

This function has no outputs.

Examples

qc_clean_libraries;            % Cleans all the standard Simulink Coder libraries required to generate code.
qc_clean_libraries('windows'); % Cleans Simulink Coder libraries for the QUARC Windows target.
    

See Also

 

navigation bar