xmcImportFunctionSettings Command Syntax - xmcImportFunctionSettings Command Syntax - 2026.1 English - UG1483

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2026-06-23
Version
2026.1 English

The xmcImportFunctionSettings command sets options for the import function feature in Vitis Model Composer. The command specifies options in the form of name/value pairs. The current options include the following:

  • build: Specifies the build environment for Model Composer. Supported values include:
    • release: The default build mode. Generates the specified output, and lets you perform simulation.
    • debug: Provides integration into a third-party compiler to let you step through and observe the imported C/C++ function using standard debug features.
  • compiler: Specifies the third-party compiler to use for debugging purposes. The supported values are:
    • default: Compile with GCC or MinGW compiler for debugging using GDB debugger.
      Note: The standard installation of Model Composer includes GCC or MinGW, and GDB.
  • blocks: Specifies the specific block or blocks that you want to observe during the debugging process. If the option is not specified, all imported function blocks in the current design are included for debugging. You can specify one or more blocks using the following command form:
    xmcImportFunctionSettings('blocks', {'block1','block2', ...})
    You can also unset the selection of the blocks using the following command:
    xmcImportFunctionSettings('blocks', {})

    You can use the MATLAB gcb command to get the block path for a specific block. You must specify the blocks as a list, even if only one block is specified. For example, refer to the following:

    xmcImportFunctionSettings('blocks', {'xmc_optical_flow/Lucas-Kanade'})
Tip: The settings specified by xmcImportFunctionSettings remain set until you exit Model Composer, or change the options using xmcImportFunctionSettings.