This document provides instructions on how to use imperix ACG blockset starting from a blank Simulink model.
This feature has been integrated in ACG SDK version 18.104.22.168. which is available from https://imperix.com/downloads.
Create a blank Simulink model (R2020a: accept when asked to switch to ert.tcl)
Go in Model Configuration Parameters (Ctrl + E) -> Code Generation
Browse for a System target file and select imperix_ACG_SDK.tlc
Add imperix Configuration block to Model
Either through the Library Browser under the imperix section
Or by typing “Configuration” directly within the model
imperix_ACG_SDK.tlc is not available in the Model Configuration Parameters
In MATLAB, go in
imperix_ACG_SDK_setup.mto add paths for the imperix target to the MATLAB path.
savepathcommand make the setup persistent but may not execute if you do not have admin rights on the computer (check MATLAB logs).
An alternative is to use a startup script: create a file named
startup.mwhich contains the following code and place it in a folder which is in the MATLAB search path (for instance the MATLAB folder found in the Documents directory). If this script already exists, just add the commands to the end of the file.