Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
LibraryTools[ActivationModule] - set the procedure or module to be called when a library is opened
Calling Sequence
ActivationModule( archive, m )
Parameters
archive
-
string; Maple library
m
module or procedure
Description
The ActivationModule( archive, m) calling sequence sets the module or function to be called when the archive is opened. A ".mla" archive can be opened by specifying the file as command-line argument to Maple, or by using the File>Open menu. Any archive can be opened by using the march('open', archive) command.
When a library archive containing an activation module is opened, that module is called with one argument, the path to the archive file. This function can be used to run arbitrary Maple code, including code to unpack files stored in the archive.
If m is a module, it should have an export named ModuleApply. For details, see the ModuleApply help page.
Examples
ActivationModule(LibLocation,proc() print("hi") end);
See Also
library, LibraryTools, march, ModuleApply
Download Help Document