- •Block Reference
- •Commonly Used
- •Continuous
- •Discontinuities
- •Discrete
- •Logic and Bit Operations
- •Lookup Tables
- •Math Operations
- •Model Verification
- •Model-Wide Utilities
- •Ports & Subsystems
- •Signal Attributes
- •Signal Routing
- •Sinks
- •Sources
- •User-Defined Functions
- •Additional Math & Discrete
- •Additional Discrete
- •Additional Math: Increment — Decrement
- •Run on Target Hardware
- •Target for Use with Arduino Hardware
- •Target for Use with BeagleBoard Hardware
- •Target for Use with LEGO MINDSTORMS NXT Hardware
- •Blocks — Alphabetical List
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Settings Pane
- •Measurements Pane
- •Signal Statistics Measurements
- •Settings Pane
- •Transitions Pane
- •Overshoots/Undershoots
- •Cycles
- •Settings Pane
- •Peaks Pane
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Function Reference
- •Model Construction
- •Simulation
- •Linearization and Trimming
- •Data Type
- •Examples
- •Main Toolbar
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Mask Icon Drawing Commands
- •Simulink Classes
- •Model Parameters
- •About Model Parameters
- •Examples of Setting Model Parameters
- •Common Block Parameters
- •About Common Block Parameters
- •Examples of Setting Block Parameters
- •Block-Specific Parameters
- •Mask Parameters
- •About Mask Parameters
- •Notes on Mask Parameter Storage
- •Simulink Identifier
- •Simulink Identifier
- •Model Advisor Checks
- •Simulink Checks
- •Simulink Check Overview
- •See Also
- •Identify unconnected lines, input ports, and output ports
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Check root model Inport block specifications
- •Description
- •Results and Recommended Actions
- •See Also
- •Check optimization settings
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for implicit signal resolution
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for optimal bus virtuality
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Identify disabled library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Identify parameterized library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Identify unresolved library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Check usage of function-call connections
- •Description
- •Results and Recommended Actions
- •See Also
- •Check signal logging save format
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check data store block sample times for modeling errors
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for potential ordering issues involving data store access
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for partial structure parameter usage with bus signals
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for calls to slDataTypeAndScale
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for proper bus usage
- •Description
- •Results and Recommended Actions
- •Action Results
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for proper Merge block usage
- •Description
- •Input Parameters
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Check for non-continuous signals driving derivative ports
- •Description
- •Results and Recommended Actions
- •See Also
- •Runtime diagnostics for S-functions
- •Description
- •Results and Recommended Actions
- •See Also
- •Check file for foreign characters
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check model for known block upgrade issues
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Check that the model is saved in SLX format
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check Model History properties
- •Description
- •Results and Recommended Actions
- •See Also
- •Analyze model hierarchy for upgrade issues
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Simulink Performance Advisor Checks
- •Simulink Performance Advisor Check Overview
- •See Also
- •Baseline
- •See Also
- •Check Preupdate Items
- •See Also
- •Checks that need Update Diagram
- •See Also
- •Checks that require simulation to run
- •See Also
- •Check Accelerator Settings
- •See Also
- •Create Baseline
- •See Also
- •Identify resource intensive diagnostic settings
- •See Also
- •Check optimization settings
- •See Also
- •Identify inefficient lookup table blocks
- •See Also
- •Identify Interpreted MATLAB Function blocks
- •See Also
- •Check MATLAB Function block debug settings
- •See Also
- •Check Stateflow block debug settings
- •See Also
- •Identify simulation target settings
- •See Also
- •Check model reference rebuild setting
- •See Also
- •Check Model Reference parallel build
- •See Also
- •Check solver type selection
- •See Also
- •Select normal or accelerator simulation mode
- •See Also
- •Simulink Limits
- •Maximum Size Limits of Simulink Models
- •Index
- •Filter Structures and Filter Coefficients
- •Valid Initial States
- •Number of Delay Elements (Filter States)
- •Frame-Based Processing
- •Sample-Based Processing
- •Valid Initial States
- •Frame-Based Processing
- •Sample-Based Processing
- •Model Parameters in Alphabetical Order
- •Common Block Parameters
- •Continuous Library Block Parameters
- •Discontinuities Library Block Parameters
- •Discrete Library Block Parameters
- •Logic and Bit Operations Library Block Parameters
- •Lookup Tables Block Parameters
- •Math Operations Library Block Parameters
- •Model Verification Library Block Parameters
- •Model-Wide Utilities Library Block Parameters
- •Ports & Subsystems Library Block Parameters
- •Signal Attributes Library Block Parameters
- •Signal Routing Library Block Parameters
- •Sinks Library Block Parameters
- •Sources Library Block Parameters
- •User-Defined Functions Library Block Parameters
- •Additional Discrete Block Library Parameters
- •Additional Math: Increment - Decrement Block Parameters
- •Mask Parameters
Simulation
Simulation
add_exec_event_listener
find
get
getBlockSimState
Register listener for block method execution event
Access and display values of simulation results
Access and display values of simulation results
Access SimState of individual Stateflow Chart, MATLAB Function, or S-function block
getRootInportMap |
Creates custom object to map signals |
|
to root-level inports |
model |
Execute particular phase of |
|
simulation of model |
setBlockSimState |
Set SimState of individual Stateflow |
|
Chart, MATLAB Function, or |
|
S-function block |
sim |
Simulate dynamic system |
simplot |
Plot simulation data in figure |
|
window |
Simulink.Block.getSampleTimes |
Return sample time information for |
|
a block |
Simulink.BlockDiagram.buildRapidAccelerBuild RapidtorTargetAccelerator target for model and return run-time parameter set
Simulink.BlockDiagram.getChecksumReturn checksum of model
Simulink.BlockDiagram.getInitialStateReturn initial state structure of block diagram
Simulink.BlockDiagram.getSampleTimReturns all sample times associated with model
3-7
3 Function Reference
Simulink.ModelDataLogs.convertToDatasConvert logging data from Simulink.ModelDataLogs format to
|
Simulink.SimulationData.Dataset |
|
format |
Simulink.sdi.addToRun |
Add new simulation data to existing |
|
run |
Simulink.sdi.clear |
Clear all data from Simulation Data |
|
Inspector |
Simulink.sdi.compareRuns |
Compare signal data between two |
|
simulation runs |
Simulink.sdi.compareSignals |
Compare data from two signals |
Simulink.sdi.copyRun |
Create copy of run including |
|
simulation output data |
Simulink.sdi.createRun |
Create run in Simulation Data |
|
Inspector |
Simulink.sdi.deleteRun |
Delete run from Simulation Data |
|
Inspector |
Simulink.sdi.getRunCount |
Return number of runs in Simulation |
|
Data Inspector |
Simulink.sdi.getRunIDByIndex |
Return the run ID corresponding to |
|
run index |
Simulink.sdi.getSignal |
Return object for signal in |
|
Simulation Data Inspector |
Simulink.sdi.getSource |
Return location for storing |
|
simulation data |
Simulink.sdi.isValidRunID |
Determine if run ID is valid |
Simulink.sdi.load |
Load saved Simulation Data |
|
Inspector session |
Simulink.sdi.refresh |
Refresh Simulation Data Inspector |
Simulink.sdi.report |
Generate report from Simulation |
|
Data Inspector tool |
3-8
Simulation
Simulink.sdi.save |
Save current Simulation Data |
|
Inspector session |
Simulink.sdi.setSource |
Set location for storing simulation |
|
data |
Simulink.sdi.view |
Open Simulation Data Inspector tool |
Simulink.SimulationData.signalLoggingSelectorOpen Signal Logging Selector
Simulink.SimulationData.updateDatasetForConvert modelatLoggingand its referenced models to use Dataset format for signal logging
Simulink.SubSystem.getChecksum |
Return checksum of nonvirtual |
|
subsystem |
slbuild |
Build standalone and model |
|
reference targets |
sldebug |
Start simulation in debug mode |
sldiagnostics |
Display diagnostic information about |
|
Simulink system |
slprofreport |
Regenerate profiler report from data, |
|
ProfileData, saved from previous |
|
run |
unpack |
Extract signal logging objects from |
|
signal logs and write them into |
|
MATLAB workspace |
who |
Access and display output variable |
|
names of simulation |
who |
List names of top-level data logging |
|
objects in Simulink data log |
whos |
List names and types of top-level |
|
data logging objects in Simulink |
|
data log |
3-9
3 Function Reference
Linearization and Trimming
dlinmod |
Extract discrete-time linear |
|
state-space model around operating |
|
point |
linmod |
Extract continuous-time linear |
|
state-space model around operating |
|
point |
linmod2 |
Extract continuous-time linear |
|
state-space model around operating |
|
point |
linmodv5 |
Extract continuous-time linear |
|
state-space model around operating |
|
point |
trim |
Find trim point of dynamic system |
3-10