Main Content

codertarget.aurix_target.setiLLDPrecompiledFolder()

Set folder path to store precompiled iLLD library

Since R2022b

    Description

    codertarget.aurix_target.setiLLDPrecompiledFolder(validpath) sets the path where precompiled iLLD library will be created.

    example

    codertarget.aurix_target.setiLLDPrecompiledFolder() if the folder path is not provided, the precompiled iLLD library is created in the OS specifictemporary directory.

    example

    Examples

    collapse all

    Create a precompiled iLLD library in the specified path, when you click Build in Simulink®. For more information, see Build Options.

    Specify the valid folder path with write privileges where you want the precompiled iLLD files to be placed.

    Consider that you want the library in the following path C:\Users\<username>\Desktop\Infineon_library.

    To do this, enter the following command at the MATLAB® command prompt:

    codertarget.aurix_target.setiLLDPrecompiledFolder(C:\Users\<username>\
    Desktop\Infineon_library)

    To build the Simulink model, press Ctrl+B or click Build. Once you have built the model, the files are copied to the folder you specified in MATLAB. The folder structure, for example, looks like this.

    • The folder name TC49A represents the device Series and Step name provided in the Configuration Parameters (Model Configuration Parameters > Hardware Implementation > Hardware board > Device).

    • The folder name TaskingSmartCode represents the Toolchain selected for code generation (Model Configuration Parameters > Code Generation > Toolchain settings).

    • The file iLLD_core_FASTER_Builds.a represents the Build configuration option selected for code generation (Model Configuration Parameters > Code Generation > Toolchain settings).

    Create precompiled iLLD library in the temporary directory, when you click Build in Simulink.

    If you don’t specify the folder path where you want the precompiled iLLD library files to be placed, then the library files are placed in the tempdir.

    Consider that you did not provide the folder path, then the folder is placed in the following path: C:\Users\<username>\AppData\Local\Temp.

    If this command is not executed, then the library files are placed in the tempdir.

    You can also find the tempdir by executing the following command:

    tempdir

    To create library files in a temporary directory, enter the following command at the MATLAB command prompt:

    codertarget.aurix_target.setiLLDPrecompiledFolder()

    Input Arguments

    collapse all

    Valid path for placing the precompiled iLLD library.

    Version History

    Introduced in R2022b