This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

RunThroughUninstall

Install

FilledSmallSquareInstall["name"] starts a MathLink-compatible external program and installs Mathematica definitions to call functions in it.

FilledSmallSquare The Mathematica definitions set up by Install are typically specified in the MathLink template file used to create the source code for the external program.

FilledSmallSquareInstall["prog"] will launch the specified program, then connect to it via MathLink.

FilledSmallSquare If prog is a directory, Install["prog"] will try to execute prog/$SystemID/prog.

FilledSmallSquareInstall["name`"] searches all directories on $Path for a file or directory called name.exe.

FilledSmallSquareInstall[link] will take an existing LinkObject and set up what is needed to call functions in the program corresponding to that LinkObject.

FilledSmallSquareInstall returns a LinkObject representing the MathLink connection it is using.

FilledSmallSquareLinkPatterns[link] gives a list of the patterns defined when the specified link was set up.

FilledSmallSquare You can remove these definitions, and terminate the execution of the external program by calling Uninstall[link].

FilledSmallSquareInstall[LinkConnect["port"]] will install an external program that has created a link on the specified port. You can use this to call external programs that have been started in a debugger or on a remote computer system.

FilledSmallSquare If you call Install["command"] multiple times with the same command, the later calls will overwrite definitions set up by earlier ones, unless the definitions depend on the values of global variables which have changed.

FilledSmallSquareInstall sets up definitions which send CallPacket objects to the external program whenever functions in it are called, and waits for results to be returned in ReturnPacket objects.

FilledSmallSquare The external program can send EvaluatePacket objects back to Mathematica to request evaluations while the program is running.

FilledSmallSquare See The Mathematica Book: Section 1.11.11 and Section 2.12.2.

FilledSmallSquare See also: Get, Run, RunThrough, LinkLaunch, Uninstall, $CurrentLink.

RunThroughUninstall