APMonitor

  • home
  • editor
  • examples
  • matlab
  • python
  • online
  • Options

APM MATLAB Interface Documentation

APM MATLAB Functions

The following MATLAB functions are available in the apm folder available by downloading the APM MATLAB toolbox.

  • apm.m - Send commands to the server
  • apm_app.m - Load model and data files
  • apm_details.m - Retrieve application details
  • apm_get.m - Retrieve a file from the server
  • apm_info.m - Classify a parameter or variable
  • apm_load.m - Load model file
  • apm_meas.m - Specify a measurement
  • apm_option.m - Set an option
  • apm_sol.m - Retrieve the solution
  • apm_solve.m - ODE / DAE Integrator
  • apm_tag.m - Retrieve an option
  • apm_web.m - Open a web interface to the dashboard
  • apm_web_root.m - Open a web interface to the root directory
  • apm_web_var.m - Open a web interface to the variable values
  • csv_data.m - Load a data (csv) file locally
  • csv_element.m - Retrieve an element from loaded csv data
  • csv_load.m - Load data file
  • csv_lookup.m - Retrieve the column number for a variable
  • parse.m - Parse line given a delimiter
  • t0_load.m - Load a restart file

Note: Some older versions of MATLAB cannot run the apm_web_var.m or apm_web.m script. This script automatically launches the web-viewer for display of the solution results. If this is the case, comments in the script give instructions on a work-around.

Search

Documentation

  • Overview
  • Articles
  • Background
  • Compare
  • Error Messages
  • FAQ
  • PrivacyPolicy
  • Release Notes
  • Support
  • Webinars
  • User Reviews

Courses

  • Registration
  • 🎓 Begin Python
  • 🎓 Begin Matlab
  • 🎓 Begin Java
  • 🎓 Data Science
  • 🎓 Control (MATLAB)
  • 🎓 Control (Python)
  • 🎓 Optimization
  • 🎓 Dynamic Optimization

Download

  • APM Editor
  • APM Julia
  • APM MATLAB
  • APM Python
  • GEKKO (Python)
  • APM Server (Windows)
  • APM Server (Linux)
  • Online
  • IPOPT
  • SBML
  • Command Line
  • Web Interface

Options

  • Option Overview
  • Global Options
  • Local Options

Model Elements

  • APM MATLAB
  • APM Python
  • Constants
  • Parameters
  • Variables
  • Algebraic
  • Differential
  • Constraints
  • Slack Variables
  • Integer Variables
  • Conditional Statements
  • Objective
  • Arrays
  • Connections
  • Intermediates
  • Equations
  • Compounds
  • Objects

Application Modes

  • Overview
  • 1=Simulate (SS)
  • 2=Estimate (SS)
  • 3=Optimize (SS)
  • 4,7=Simulate (Dyn)
  • 5,8=Estimate (Dyn)
  • 6,9=Optimize (Dyn)

Files

  • Overview
  • Model (apm)
  • Options (dbs)
  • Classify (info)
  • Data (csv)
  • Solution (t0)

Examples

  • Overview
  • Benchmarks
  • Dynamic Optimization
  • MPECs
  • Tutorial

Admin

Options:

  • fixed
  • fluid
  • orange
  • blue
  • green
  • pink
  • cyan
  • red
  • violet
  • View
  • Edit
  • History
  • Print

Page last modified on January 17, 2013, at 07:19 AM