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
ExternalCalling[DefineExternal] - create a link to an external function
Calling Sequence
DefineExternal( fn, extlib )
DefineExternal( fn, extlib, cright )
Parameters
fn
-
string or name; denotes the name of the wrapper function to link
extlib
string or name; denotes the name of the external library containing the wrapper function
cright
(optional) string; denotes the copyright placed on the returned Maple procedure.
Description
The DefineExternal(fn, extlib) command calls define_external with the MAPLE option and saves the result in a remember table. The procedure used to prepare the invocation of the external routine fn is returned, optionally with the specified copyright statement cright.
Note: Saving the result of DefineExternal in a remember table is essential for the efficient operation of the external linking. Without it, the external communications must be set up every time an external routine is entered.
Examples
See Also
CustomWrapper, define_external, external_calling, ExternalCalling, ExternalCalling[ExternalLibraryName]
Download Help Document