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
Matlab[closelink] - close an open link to MATLAB session
Calling Sequence
closelink()
Description
The closelink command closes a MATLAB session linked to the current Maple session. Note that closing the session removes all data associated with that MATLAB session.
There are three ways of opening a MATLAB session from within Maple: using with(Matlab) to establish a link to all Matlab commands; using a specific Matlab command such as Matlab[fft]; or, using the openlink() command. The closelink command closes a link with a new MATLAB session no matter which method was used to start the MATLAB session.
After closing the link with MATLAB, you lose all access to the MATLAB data associated with that session. Any subsequent calls that use the Matlab library (for example, executing another Matlab[fft] command from within Maple) must open a new link.
If the MATLAB session is terminated while the link is still open, you must call closelink before establishing a new link.
Executing the closelink command returns a null.
Examples
Opening a link to a new MATLAB session
Closing the current link to MATLAB
See Also
Matlab[evalM], Matlab[getvar], Matlab[openlink], Matlab[setvar], with
Download Help Document