Main Content

updateASAP2

Pack the ASAP2 file into application

Since R2022b

Description

example

updateASAP2(app_object,updated_a2l) packs the updated_a2l file into the app_object application by replacing the ASAP2 file present in the application.

Examples

collapse all

Replace the ASAP2 file from the application with the customized ASAP2 file.

% replace the a2l file in the application
app_obj = slrealtime.Application('mymodel.mldatx')
updateASAP2(app_obj,'my_updated_a2l.a2l')

Input Arguments

collapse all

Provides access to methods that manipulate the real-time application files.

Specify the name of the customized ASAP2 file to pack it into the Simulink Real-Time application.

Example: new_asap2

Version History

Introduced in R2022b