Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Simulink.architecture.get_param

Get configuration parameters of architecture objects

Syntax

ParamValue = Simulink.architecture.get_param(Object,ParamName)

Description

example

ParamValue = Simulink.architecture.get_param(Object,ParamName) returns the value of the specified parameter for the object, Object. ParamName is case-sensitive.

Examples

collapse all

Get the period of task Task3 of trigger Core2 of software node MulticoreProcessor of the selected architecture for the model slexMulticoreExample.

slexMulticoreExample;
p = Simulink.architecture.get_param('slexMulticoreExample/MulticoreProcessor/Core2/Task3','Period')
p =

0.2

Input Arguments

collapse all

Object whose parameter value to return, specified as a character vector giving the object full path name. Possible objects are:

  • Software node

  • Hardware node

  • Periodic trigger

  • Aperiodic trigger

  • Task

Name of a parameter for which Simulink.architecture.get_param returns a value.

The following are the possible ParamName values:

For a model:

  • 'ArchitectureName'

  • 'Type'

For a software node:

  • 'Name'

  • 'Type'

For a hardware node

  • 'Name'

  • 'ClockFrequency'

  • 'Color'

  • 'Type'

For a periodic trigger:

  • 'Name'

  • 'Period'

  • 'Color'

  • 'Type'

For an aperiodic trigger:

  • 'Name'

  • 'Color'

  • 'EventHandlerType'

  • 'SignalNumber'

  • 'EventName'

  • 'Type'

For a task:

  • 'Name'

  • 'Period'

  • 'Color'

  • 'Type'

Introduced in R2014a

Was this topic helpful?