Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
BlockImporter[Import] - import a Simulink(R) system
Calling Sequence
Import( model, subsys, opts )
Parameters
model
-
(optional) string; Simulink model
subsys
(optional) string; Simulink subsystem
opts
(optional) equation(s) of the form option = value; specify options for the Import command
Description
The Import command converts a Simulink model to a Maple record. The format of the record is described in BlockImporter[datastructure].
The optional model parameter is the base name of the Simulink file. It should not include the extension (.mdl) of the file. If the model parameter is not provided, then a Simulink dialog box opens that prompts the user to select a model file and subsystem.
The optional subsys parameter is the name of a subsystem in the Simulink model. If provided, then just that subsystem is imported. The name of a subsystem includes the model name, separated by a forward slash. For example, to import a subsystem named mysubsystem from a model named mymodel, the value of subsys is mymodel/mysubsystem. The subsys parameter is only used if the model parameter is specified.
Options
init = string
Specifies a Matlab initialization command to execute. The default is to not execute an initialization command.
inplace = truefalse
Specifies that the Simulink model is to be modified in place (in MATLAB) to convert it to a Maple record. The default is false.
path = string
Specifies the directory from which model is read. This is also used as the directory to search when no model is specified. The default is the current directory (currentdir).
Examples
Import the model.
Print out the summary of the imported data structure.
See Also
BlockImporter, BlockImporter[datastructure], BlockImporter[PrintSummary], BlockImporter[SimplifyModel]
Download Help Document