Import and select target architecture for concurrent execution environment for model
Import and select a different architecture
Import and select the sample architecture to
openExample("simulink_features/AssigningTasksToCoresForMulticoreProgrammingExample"); Simulink.architecture.importAndSelect('slexMulticoreExample',... '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 file first.
openExample("simulink_features/AssigningTasksToCoresForMulticoreProgrammingExample"); Simulink.architecture.importAndSelect('slexMulticoreExample',... 'custom_arch.xml')
mdl — Model
Model to import architecture to, specified as a character vector.
Architecture — Target architecture name
Target architecture name to import into the concurrent execution environment for the model. Possible target names are:
Single CPU with multiple cores
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™ target
Xilinx® Zynq® ZC702 evaluation kit target
Xilinx Zynq ZC706 evaluation kit target
Xilinx Zynq ZedBoard™ target
CustomArchitectureDescriptionFile — Custom target architecture 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 character vector giving the XML file name.
Introduced in R2014a