How can I use the MATLAB command to change the simulation of the simulink model?

Source: Internet
Author: User
Common commands:
Simulation command:
Sim --- run a simulation of the simulation of a chain
Sldebug --- debug a Simulink Module
Simset --- set simulation parameters
Simget --- obtain simulation parameters

Line and organize commands:
Linmod-obtain a linear model from a continuous time System
Linmod2 --- also used to obtain linear models, using advanced methods
Dinmod-obtain a linear model from a Discrete Time System
Trim --- find stable state parameters for a simulation system

Build model command:
Open_system -- open an existing model
Close_system -- disable the opened model or module
New_system -- create a new empty model window
Load_system -- load existing models and make them invisible
Save_system -- save an open model
Add_block -- Add a new module
Add_line -- add a line (line between two modules)
Delete_block -- delete a module
Delete_line -- delete a line
Find_system -- find a module
Hilite_system -- make a module conspicuous
Replace_block -- replace an existing module with a new module
Set_param -- set parameters for the model or module
Get_param -- get the parameters of a module or model
Add_param -- add custom string parameters to a model
Delete_param -- delete a user-defined parameter from a model
Bdclose -- close a Simulink window
Bdroot -- Module name at the root level
GCB -- get the name of the current Module
Gcbh -- get the handle of the current Module
GCS -- get the name of the current system
Getfullname -- get the full path name of a module
Slupdate -- upgrade 1. x modules to 3. x modules.
Addterms -- add the terminators module for unconnected ports
Boolean -- convert a numeric array to a Boolean Value
Slhelp -- help of User Wizard or module in the simulation environment

Encapsulation command:
Hasmask -- check whether existing modules are encapsulated
Hasmaskdlg -- check whether an existing module has an encapsulated dialog box
Hasmaskicon -- check whether existing modules have encapsulated icons
Iconedit -- use the ginput function to design module icons
Maskpopups -- Return and change the pop-up menu items of the encapsulation Module
Movemask -- re-build the built-in encapsulation module as the encapsulated sub-module

Diagnostic command:
Sllastdiagnostic-last diagnosis information
Sllasterror -- last error message
Sllastwarning -- last warning message
Sldiagnostics -- obtains the number and compilation status of modules for a model.

Command for hard copy and printing:
Frameedit -- edit the Print Screen
Print -- print the image as an image or save the image as an M file.
Printopt -- default printer settings
Orient -- set the direction of the paper

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.