Import and select target architecture for concurrent execution environment for model


  • Simulink.architecture.importAndSelect(model,Architecture)
  • Simulink.architecture.importAndSelect(model,CustomArchitectureDescriptionFile)



Simulink.architecture.importAndSelect(model,Architecture) imports and selects the built-in target architecture for the concurrent execution environment for the model.


Simulink.architecture.importAndSelect(model,CustomArchitectureDescriptionFile) imports and selects the architecture from an XML-based architecture description file.

Importing and selecting target architectures requires that the associated support packages or hardware is installed on your computer.


collapse all

Import and select a different architecture

Import and select the sample architecture to the model sldemo_concurrent_execution.

Simulink.architecture.importAndSelect('sldemo_concurrent_execution','Sample Architecture')

Import and select a custom architecture

Import and select the custom architecture defined in the XML file custom_arch.xml. This example requires you to create a custom_arch.xml first.


Input Arguments

collapse all

model — Modelstring

Model to import architecture to, specified as a string.

Data Types: char

Architecture — Target architecture namestring

Target architecture name to import into the concurrent execution environment for the model, specified as a string. Possible target names are:



Single CPU with multiple cores

'Sample Architecture'

Example architecture consisting of single CPU with multiple cores and two FPGAs. You can use this architecture to model for concurrent execution.

'Simulink Real-Time'

Simulink® Real-Time™ target

'Xilinx Zynq ZC702 evaluation kit'

Xilinx® Zynq® ZC702 evaluation kit target

'Xilinx Zynq ZC706 evaluation kit'

Xilinx Zynq ZC706 evaluation kit target

'Xilinx Zynq Zedboard'

Xilinx Zynq ZedBoard™ target

Data Types: char

CustomArchitectureDescriptionFile — Custom target architecture fileXML file

Custom target architecture file name, in XML format, that describes a custom target for the concurrent execution environment for the model, specified as a string giving the XML file name.

Example: custom_arch.xml

Introduced in R2014a

Was this topic helpful?