Start of trail End of trail navigation bar

Table of Contents

qc_upgrade_blocks

Upgrades blocks in a model to the latest version of QUARC.

Syntax

qc_upgrade_blocks(model)      % Upgrade the blocks in the specified model
qc_upgrade_blocks             % Upgrade the blocks in the current model
    

Description

Goes through all the blocks in a model and replaces any broken links with the proper references. Since some blocks may be moved to a new location in new versions of QUARC, the links to those blocks will get broken. This command repairs those links automatically so it is not necessary to go through the model and replace the blocks manually. Block parameter values are preserved.

Parameters

model

A string indicating the name of the model to upgrade. eg. 'q_a_lpbk'. The model must be open in Simulink.

Outputs

This function has no outputs.

Examples

qc_upgrade_blocks('q_a_lpbk'); % Upgrades the q_a_lpbk model
    

See Also

 

navigation bar