- •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
3
Function Reference
Model Construction (p. 3-2) |
Model construction functions |
Simulation (p. 3-7) |
Simulation functions |
Linearization and Trimming (p. 3-10) |
Linearization and trimming |
|
functions |
Data Type (p. 3-11) |
Data type functions |
3 Function Reference
Model Construction
addterms
add_block add_line add_param attachConfigSet
attachConfigSetCopy
Add terminators to unconnected ports in model
Add block to model
Add line to Simulink system
Add parameter to Simulink system
Associate configuration set or configuration reference with model
Copy configuration set or configuration reference and associate it with model
bdclose |
Close any or all Simulink system |
|
windows unconditionally |
bdIsLoaded |
Whether block diagram is in memory |
bdroot |
Return name of top-level Simulink |
|
system |
closeDialog |
Close configuration parameters |
|
dialog |
close_system |
Close Simulink system window or |
|
block dialog box |
delete_block delete_line delete_param
Delete block from Simulink system Delete line from Simulink system
Delete system parameter added via add_param command
dependencies.fileDependencyAnalysisFind model file dependencies
dependencies.toolboxDependencyAnalysisFind toolbox dependencies
detachConfigSet |
Dissociate configuration set or |
|
configuration reference from model |
disableimplicitsignalresolution Convert model to use only explicit signal resolution
3-2
Model Construction
docblock
find_mdlrefs
find_system
gcb gcbh gcs
getActiveConfigSet
getCallbackAnnotation getConfigSet
getConfigSets
getfullname getVariable get_param
hasVariable
hilite_system intersect
legacy_code libinfo
load_system
Get or set editor invoked by Simulink DocBlock
Find Model blocks and referenced models at all levels or at top level only
Find systems, blocks, lines, ports, and annotations
Get pathname of current block Get handle of current block
Get pathname of current system
Get model’s active configuration set or configuration reference
Get information about annotation
Get one of model’s configuration sets or configuration references
Get names of all of model’s configuration sets or configuration references
Get pathname of block or line
Get value of variable from workspace
Get system and block parameter values
Determine if variable exists in workspace
Highlight Simulink object Returns intersection of two vectors
of Simulink.VariableUsage objects Use Legacy Code Tool
Get information about library blocks referenced by model
Invisibly load Simulink model
3-3
3 Function Reference
modeladvisor |
Open Model Advisor |
new_system |
Create empty Simulink system |
openDialog |
Open configuration parameters |
|
dialog |
open_system |
Open Simulink system window or |
|
block dialog box |
replace_block |
Replace blocks in Simulink model |
save_system |
Save Simulink system |
setActiveConfigSet |
Specify model’s active configuration |
|
set or configuration reference |
setdiff
set_param
Returns difference between two
vectors of Simulink.VariableUsage objects
Set Simulink system and block parameter values
signalbuilder |
Create and access Signal Builder |
|
blocks |
simulink |
Open Simulink block library |
Simulink.BlockDiagram.addBusToVectorAdd Bus to Vector blocks to convert virtual bus signals into vector signals
Simulink.BlockDiagram.copyContentsToSubSystemCopy contents of block diagram to empty subsystem
Simulink.BlockDiagram.createSubSystemCreate subsystem containing specified set of blocks
Simulink.BlockDiagram.deleteContentsDelete contents of block diagram
Simulink.BlockDiagram.loadActiveConfigSetLoad, associate, and activate configuration set with model
Simulink.BlockDiagram.saveActiveConfigSetSave active configuration set of model
Simulink.Bus.cellToObject |
Convert cell array containing bus |
|
information to bus objects |
3-4
Model Construction
Simulink.Bus.createMATLABStruct Create MATLAB structure with same shape and attributes as bus signal
Simulink.Bus.createObject |
Create bus objects for blocks |
Simulink.Bus.objectToCell |
Convert bus objects to cell array |
|
containing bus information |
Simulink.Bus.save |
Save bus objects in MATLAB file |
Simulink.findVars |
Returns information about |
|
workspace variables used or |
|
not used by models and blocks. |
Simulink.saveVars |
Save workspace variables and their |
|
values in MATLAB code format |
Simulink.SoftwareTarget.concurrentExecutionCreate configuration for concurrent execution
Simulink.SubSystem.convertToModelReferenceConvert atomic subsystem or function call subsystem to model reference
Simulink.SubSystem.copyContentsToBlockDiagramCopy contents of subsystem to empty block diagram
Simulink.SubSystem.deleteContentsDelete contents of subsystem
simulinkproject |
Open Simulink Project Tool |
slCharacterEncoding |
Change MATLAB character set |
|
encoding |
sldiscmdl |
Discretize model that contains |
|
continuous blocks |
slIsFileChangedOnDisk |
Determine whether model has |
|
changed since it was loaded |
slmdldiscui slreplace_mux
slupdate
Open Model Discretizer GUI
Replace Mux blocks used to create buses with Bus Creator blocks
Replace blocks from previous releases with latest versions
3-5
3 Function Reference
upgradeadvisor |
Open Upgrade Advisor |
view_mdlrefs |
Display graph of model reference |
|
dependencies |
3-6