Exporting a standalone application from command line

AnyLogic command line interface supports export of a model (or several models at once) as standalone Java application.

The command syntax is as follows:

anylogic -e "absolute path to the exported model .alp file"

For example:

anylogic -e "D:\My Models\Call Center\Call Center.alp"

Here, -e is a common flag to run silent export. After it you can list the paths to as many models for export as you need. The models will be loaded, built, exported and closed one by one in the order of listing.

By default the model is exported to a new folder <model name>_Exported which will be created automatically in the model's parent folder. You can also export the model to an specific folder by specifying parameter -p "folder path" in the command line.

anylogic -e -p "absolute path to the destination folder" "absolute path to the exported model .alp file"

For example:

anylogic -e -p "C:\Export\Standalone Model Applications" "D:\My Models\Call Center\Call Center.alp"

The new folder Call Center_Exported will be created in the specified destination folder.

Depending on whether AnyLogic is running or not, the export process will differ.

When AnyLogic is not running:

When AnyLogic is running:

Related topics

How-to video: AnyLogic Cloud

AnyLogic Cloud

AnyLogic Cloud options