Documentation

Classes

Alphabetical List By Category

Modeling

Design Models

Nonlinearity

Simulink.LookupTableStore and share lookup table and breakpoint data, configure the data for ASAP2 and AUTOSAR code generation
Simulink.BreakpointStore and share data for a breakpoint set, configure the data for ASAP2 and AUTOSAR code generation
Simulink.lookuptable.EvenspacingConfigure even spacing set data for lookup table object
Simulink.lookuptable.TableConfigure table data for lookup table object
Simulink.lookuptable.BreakpointConfigure breakpoint set data for lookup table object
Simulink.lookuptable.StructTypeInfoConfigure settings for structure type that lookup table object uses in the generated code

Multicore Processor Targets

Simulink.GlobalDataTransferConfigure concurrent execution data transfers

Configure Models

Blocks

Simulink.DualScaledParameter Specify name, value, units, and other properties of Simulink dual-scaled parameter
Simulink.ParameterStore, share, and configure block parameter values

Signals

Simulink.SignalSpecify attributes of signal

Variables

Simulink.ModelWorkspaceDescribe model workspace
Simulink.WorkspaceVar Contains information about workspace variables and blocks that use them
Simulink.VariableUsageStore information about the relationship between variables and blocks in models
Simulink.CoderInfo Specify information needed to generate code for signal or parameter data
Simulink.data.DictionaryConfigure data dictionary
Simulink.data.dictionary.SectionConfigure data dictionary section
Simulink.data.dictionary.EntryConfigure data dictionary entry
Simulink.data.dictionary.EnumTypeDefinitionStore enumerated type definition in data dictionary

Sample Time

Simulink.SampleTimeObject containing sample time information
Simulink.BlockPortDataDescribe block input or output port

Data Types

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

Model, Block, and Port Callbacks

Simulink.AnnotationSpecify properties of model annotation

Annotate Models

Simulink.AnnotationSpecify properties of model annotation

Run Model Checks

Simulink.ModelAdvisorRun Model Advisor from MATLAB file
ModelAdvisor.PreferencesSet Model Advisor window preferences by specifying which folders and tabs to display

Diagnostics

Simulink.SuppressedDiagnosticSuppress diagnostic messages from a specified block

Simulation

Prepare Model Inputs and Outputs

Save Runtime Data from Simulation

Simulink.SimulationData.DatasetCreate Simulink.SimulationData.Dataset object
Simulink.SimulationData.DatasetRefCreate Simulink.SimulationData.DatasetRef object
matlab.io.datastore.SimulationDatastoreDatastore for inputs and outputs of Simulink models
Simulink.SimulationData.BlockPathFully specified Simulink block path
Simulink.SimulationData.SignalContainer for signal logging information
Simulink.SimulationData.StateState logging element
Simulink.SimulationData.UnitStore units for simulation data
Simulink.SimulationOutputAccess object values of simulation results
Simulink.SimulationData.LoggingInfoSignal logging override settings
Simulink.SimulationData.ModelLoggingInfoSignal logging override settings for a model
Simulink.SimulationData.SignalLoggingInfoSignal logging override settings for signal
Simulink.SimulationMetadataAccess metadata of simulation runs

Run Simulations

Run Individual Simulations Programmatically

Simulink.SimState.ModelSimState Access SimState snapshot data
eventDataProvide information about block method execution events

Run Multiple Simulations

Simulink.SimulationInputCreates SimulationInput objects to make changes to a model for multiple or individual simulations

View and Analyze Simulation Results

Inspect and Analyze Simulation Results

Simulink.sdi.DiffRunResultAccess run comparison metadata
Simulink.sdi.DiffSignalResultAccess signal comparison results
Simulink.sdi.RunAccess run signals and metadata
Simulink.sdi.Signal Access signal data and metadata
Simulink.sdi.WorkerRun Access simulation data from parallel workers
Simulink.SimulationData.DatasetCreate Simulink.SimulationData.Dataset object
Simulink.sdi.DatasetRefAccess data in Simulation Data Inspector repository
matlab.io.datastore.sdidatastore Datastore for Simulation Data Inspector signals
Simulink.HMI.InstrumentedSignalsAccess logged signals in model
Simulink.HMI.SignalSpecificationInformation for logging a signal

Control Simulations with Interactive Displays

Simulink.HMI.InstrumentedSignalsAccess logged signals in model
Simulink.HMI.SignalSpecificationInformation for logging a signal

Test and Debug Simulations

Diagnostics

Simulink.SuppressedDiagnosticSuppress diagnostic messages from a specified block

Component-Based Modeling

Model Architecture

Libraries

LibraryBrowser.LibraryBrowser2Simulink Library Browser

Data Stores

Simulink.SimulationData.DataStoreMemoryContainer for data store logging information
Simulink.SimulationData.BlockPathFully specified Simulink block path
Simulink.SimulationData.DatasetCreate Simulink.SimulationData.Dataset object

Composite Signals

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

Configuration Reuse

Simulink.ConfigSetModel configuration set
Simulink.ConfigSetRefLink model to configuration set stored independently of any model

Variant Systems

Simulink.VariantSpecify conditions that control variant selection
Simulink.VariantConfigurationDataClass representing a variant configurations data object
Simulink.VariantManagerClass representing a set of Variant Manager functionality

Project Management

Model Exploration

Simulink.MDLInfoExtract model file information without loading block diagram into memory
Simulink.MDLInfo.getDescriptionExtract model file description without loading block diagram into memory
Simulink.MDLInfo.getMetadataExtract model file metadata without loading block diagram into memory
LibraryBrowser.LibraryBrowser2Simulink Library Browser

Block Creation

Block Masks

Simulink.MaskControl masks programmatically
Simulink.MaskParameterControl mask parameters programmatically
Simulink.dialog.ControlCreate instances of dialog control

Custom MATLAB Algorithms

Code Generation

coder.ExternalDependencyInterface to external code
coder.BuildConfigBuild context during code generation

S-Functions

C/C++ S-Functions

S-Function Checks
Simulink.sfunction.AnalyzerCreate a Simulink S-function analyzer object
Simulink.sfunction.analyzer.BuildInfo Create an object to represent build information
Simulink.sfunction.analyzer.Options Create an object to specify options for running S-function checks

MATLAB S-Functions

Simulink.MSFcnRunTimeBlockGet run-time information about Level-2 MATLAB S-function block
Simulink.RunTimeBlockAllow Level-2 MATLAB S-function and other MATLAB programs to get information about block while simulation is running
Simulink.BlockDataProvide run-time information about block-related data, such as block parameters
Simulink.BlockPortDataDescribe block input or output port
Simulink.BlockCompDworkDataProvide postcompilation information about block's DWork vector
Simulink.BlockCompInputPortDataProvide postcompilation information about block input port
Simulink.BlockCompOutputPortDataProvide postcompilation information about block output port
Simulink.BlockPreCompInputPortDataProvide precompilation information about block input port
Simulink.BlockPreCompOutputPortDataProvide precompilation information about block output port

System Object Integration

Customize System Objects for Simulink

matlab.system.mixin.CustomIconCustom icon mixin class
matlab.system.display.IconCustom icon image
matlab.system.display.ActionCustom button
matlab.system.display.HeaderHeader for System objects properties
matlab.system.display.SectionProperty group section for System objects
matlab.system.display.SectionGroupSection group for System objects
matlab.system.mixin.PropagatesSignal characteristics propagation mixin class
matlab.system.mixin.NondirectNondirect feedthrough mixin class
matlab.system.mixin.SampleTimeControl sample time for System objects in Simulink
Was this topic helpful?