qc_get_target_uri End of trail navigation bar

Table of Contents

qc_convert_model_non_toolchain

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

Syntax

ret = qc_convert_model_non_toolchain                    % converts all configuration sets in the current model that uses QUARC toolchains to non-toolchains.
ret = qc_convert_model_non_toolchain(model)             % converts all configuration sets in the model that uses QUARC toolchains to non-toolchains, saving the resulting model with the name model_non_toolchain.
ret = qc_convert_model_non_toolchain(model, overwrite)  % converts all configuration sets in the model that uses QUARC toolchains to non-toolchains, overwriting the original model.
    

Description

Converts any configuration sets in a model that uses QUARC toolchain-based targets to non-toolchain-based targets. This function is mainly used to prepare a model that is to be used in QUARC versions older than QUARC 2021 that do not support toolchain-based targets.

Parameters

model

A string indicating a model eg. 'q_a_lpbk'.

overwrite

A boolean indicating whether to overwrite the model.

Outputs

ret

1 indicates model converted. 0 indicates model not converted meaning QUARC toolchain-based targets are not used in the model.

Examples

        qc_convert_model_non_toolchain('q_a_lpbk');       % converts all configuration sets in q_a_lpbk model that use QUARC toolchain-based targets to non-toolchain-based targets, and save the resulting model as q_a_lpbk_non_toolchain.
        qc_convert_model_non_toolchain('q_a_lpbk', true); % converts all configuration sets in q_a_lpbk model that use QUARC toolchain-based targets to non-toolchain-based targets, and overwrite the model q_a_lpbk.
    

 

navigation bar