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
Create Maple Initialization File
By creating an initialization file, you can set up Maple to automatically execute a series of commands on startup and after every restart. This is useful for setting Maple global variables such as Digits and Order. Alternatively, you can enter Maple commands into the StartupCode region of a file. You can also designate regions in the worksheet for automatic execution. For more information on automatic execution, see Setting the Autoexecute Format.
The initialization file is an ASCII text file that contains the commands in Maple syntax. It is recommended that you use a colon to end the commands so that the output is not printed in the worksheet on startup. In multiple user environments, one initialization file can be defined for all users, and all users can also have their own initialization file. The specific name and location of this file varies depending on the operating system.
Windows
Under Windows, the initialization file is called maple.ini.
If <Maple>\lib\maple.ini exists, it is loaded first (where <Maple> is your Maple installation directory). With a network installation of Maple, the commands in this initialization file will be executed by all users on the network.
To execute a user's personal set of commands, only the first initialization file in one of the following paths will be loaded.
1) The binary directory of your current working directory (for example, "c:\Program_Files\Maple\bin.win\maple.ini")
2) The <Maple>\Users directory (for example, "c:\Program_Files\Maple\Users\maple.ini")
3) The user's personal profile directory (multiuser only) (for example, "c:\Documents_and_Settings\userid\maple.ini")
Maple reads and executes the network initialization file before the personal initialization file.
Macintosh
Under Macintosh, the personal initialization file is called .mapleinit, and the global initialization file is called init. The commands in the initialization file will be executed by all users on the network by placing the file in the Maple lib directory, for example, $MAPLE/lib/init.
To execute a user's personal set of commands, the initialization file should be placed in the user's home directory under Macintosh, for example, $HOME/.mapleinit.
UNIX and Linux
Under UNIX and Linux, the personal initialization file is called .mapleinit, and the global initialization file is called init. The commands in the initialization file will be executed by all users on the network by placing the file in the Maple lib directory, for example, $MAPLE/lib/init.
To execute a user's personal set of commands, the initialization file should be placed in the user's home directory under UNIX, for example, $HOME/.mapleinit.
See Also
Change Kernel Modes, Change User Profiles, Configure Maple, restart, StartupCode, The Maple Command and Command-line Options, trademarks
Download Help Document