Documentation

Simulink.architecture.importAndSelect

Import and select target architecture for concurrent execution environment for model

Syntax

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

Description

example

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

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

example

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.

Examples

collapse all

Import and select the sample architecture to the model slexMulticoreExample.

slexMulticoreExample
Simulink.architecture.importAndSelect('slexMulticoreExample','Sample 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 file first.

slexMulticoreExample
Simulink.architecture.importAndSelect('slexMulticoreExample','custom_arch.xml')

Input Arguments

collapse all

Model to import architecture to, specified as a character vector.

Data Types: char

Target architecture name to import into the concurrent execution environment for the model. Possible target names are:

PropertyDescription

'Multicore'

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

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

Example: custom_arch.xml

Introduced in R2014a

Was this topic helpful?