Documentation

Classes

Modeling

Design Models

Multicore Processor Targets

Simulink.GlobalDataTransfer Configure concurrent execution data transfers

Configure Models

Blocks

eventData Provide information about block method execution events
Simulink.DualScaledParameter Specify value, value range, data type, and other properties of block parameter Specify name, value, units, and other properties of Simulink dual-scaled parameter
Simulink.Parameter Specify value, value range, data type, and other properties of block parameter Specify name, value, units, and other properties of Simulink dual-scaled parameter
Simulink.CoderInfo Specify information needed to generate code for signal or parameter

Signals

Simulink.Signal Specify attributes of signal
Simulink.CoderInfo Specify information needed to generate code for signal or parameter

Variables

Simulink.ModelWorkspace Describe model workspace
Simulink.WorkspaceVar Contains information about workspace variables and blocks that use them
Simulink.VariableUsage Get information about workspace variables and blocks that use them
Simulink.data.Dictionary Configure data dictionary
Simulink.data.dictionary.Section Configure data dictionary section
Simulink.data.dictionary.Entry Configure data dictionary entry
Simulink.data.dictionary.EnumTypeDefinition Store enumerated type definition in data dictionary

Sample Time

Simulink.SampleTime Object containing sample time information
Simulink.BlockPortData Describe block input or output port

Data Types

Simulink.AliasType Create alias for signal and parameter data type
Simulink.NumericType Specify floating point, integer, or fixed point data type

Model, Block, and Port Callbacks

Simulink.Annotation Specify properties of model annotation

Visual Presentation

Annotations

Simulink.Annotation Specify properties of model annotation

Masking

Simulink.Mask Control masks programmatically
Simulink.MaskParameter Control mask parameters programmatically

Run Model Checks

Simulink.ModelAdvisor Run Model Advisor from MATLAB file
ModelAdvisor.Preferences Set Model Advisor preferences

Simulation

Run Simulation

Programmatic

Simulink.SimState.ModelSimState Access SimState snapshot data

Visualize Results

Simulink.SimulationData.Dataset Create Simulink.SimulationData.Dataset object

Export Runtime Information

Data Export Basics

Simulink.SimulationData.BlockPath Fully specified Simulink block path
Simulink.SimulationData.Dataset Create Simulink.SimulationData.Dataset object
Simulink.SimulationData.Signal Container for signal logging information
Simulink.SimulationData.State State logging element
Simulink.SimulationOutput Access object values of simulation results

Signal Logging

Simulink.ModelDataLogs Container for signal data logs of a model
Simulink.SimulationData.BlockPath Fully specified Simulink block path
Simulink.SimulationData.Dataset Create Simulink.SimulationData.Dataset object
Simulink.SimulationData.LoggingInfo Signal logging override settings
Simulink.SimulationData.ModelLoggingInfo Signal logging override settings for a model
Simulink.SimulationData.Signal Container for signal logging information
Simulink.SimulationData.SignalLoggingInfo Signal logging override settings for signal
Simulink.SimulationMetadata Access metadata of simulation runs
Simulink.SimulationOutput Access object values of simulation results
Simulink.SubsysDataLogs Container for subsystem's signal data logs
Simulink.TimeInfo Provide information about time data in Simulink.Timeseries object
Simulink.Timeseries Store data for any signal except mux or bus signal
Simulink.TsArray Store data for mux or bus signal

Validate System Behavior

Simulink.sdi.DiffRunResult Results from comparing two simulation runs
Simulink.sdi.DiffSignalResult Results from comparing two signals
Simulink.sdi.Run Manages signal data and metadata of simulation run
Simulink.sdi.Signal Manages signal time series data and metadata
Simulink.SimulationData.Dataset Create Simulink.SimulationData.Dataset object

Component-Based Modeling

Model Architecture

Model Reference

Simulink.BlockPath Fully specified Simulink block path

Data Stores

Simulink.SimulationData.DataStoreMemory Container for data store logging information
Simulink.ModelDataLogs Container for signal data logs of a model
Simulink.SimulationData.BlockPath Fully specified Simulink block path
Simulink.SimulationData.Dataset Create Simulink.SimulationData.Dataset object

Composite Signals

Simulink.Bus Specify properties of signal bus
Simulink.BusElement Describe element of signal bus

Configuration Reuse

Simulink.ConfigSet Access model configuration set
Simulink.ConfigSetRef Link model to configuration set stored independently of any model

Variant Systems

Simulink.Variant Specify a model reference variant and its execution environment
Simulink.VariantConfigurationData Class representing a variant configurations data object

Project Management

Model Exploration

Simulink.MDLInfo Extract model file information without loading block diagram into memory
Simulink.MDLInfo.getDescription Extract model file description without loading block diagram into memory
Simulink.MDLInfo.getMetadata Extract model file metadata without loading block diagram into memory

Block Creation

Block Masks

Simulink.Mask Control masks programmatically
Simulink.MaskParameter Control mask parameters programmatically

Custom MATLAB Algorithms

Code Generation

coder.ExternalDependency Interface to external code
coder.BuildConfig Build context during code generation

Host-Specific Code

MATLAB S-Functions

Simulink.MSFcnRunTimeBlock Get run-time information about Level-2 MATLAB S-function block
Simulink.RunTimeBlock Allow Level-2 MATLAB S-function and other MATLAB programs to get information about block while simulation is running
Simulink.BlockData Provide run-time information about block-related data, such as block parameters
Simulink.BlockPortData Describe block input or output port
Simulink.BlockCompDworkData Provide postcompilation information about block's DWork vector
Simulink.BlockCompInputPortData Provide postcompilation information about block input port
Simulink.BlockCompOutputPortData Provide postcompilation information about block output port
Simulink.BlockPreCompInputPortData Provide precompilation information about block input port
Simulink.BlockPreCompOutputPortData Provide precompilation information about block output port

System Object Integration

Define System Objects

Basic Operations
matlab.System Base class for System objects
matlab.system.mixin.FiniteSource Finite source mixin class
matlab.system.StringSet Set of valid string values
Properties and States
matlab.System Base class for System objects
matlab.system.StringSet Set of valid string values
Load, Save, and Clone
matlab.System Base class for System objects
System Block
Icon and Dialog
matlab.System Base class for System objects
matlab.system.mixin.CustomIcon Custom icon mixin class
matlab.system.display.Action Custom button
matlab.system.display.Header Header for System objects properties
matlab.system.display.Section Property group section for System objects
matlab.system.display.SectionGroup Section group for System objects
Output Specifications
matlab.System Base class for System objects
matlab.system.mixin.Propagates Signal characteristics propagation mixin class
Nondirect Feedthrough
matlab.System Base class for System objects
matlab.system.mixin.Nondirect Nondirect feedthrough mixin class
For Each Subsystem
matlab.System Base class for System objects
Was this topic helpful?