Loading [Contrib]/a11y/accessibility-menu.js
What's New
Discover new features and enhancements.
Get Started
New to Activate ? Learn the basics here.
Tutorials
Start using Activate with our interactive tutorials.
Model Components
Learn about the components in Activate models.
Physical Component Modeling
Learn about modeling physical components.
Hydraulic System Modeling
Learn about modeling hydraulic systems with the Hydraulics (By Fluidon) library.
Electrical System Modeling
Learn about modeling electrical and electronic systems with Modelica and Spice.
Multibody Mechanical System Modeling
Learn about modeling multibody dynamic systems.
Electromagnetic System Modeling
Learn about modeling electromagnetic systems.
Simulation Basics
Learn how to set up, run, and troubleshoot simulations.
Simulation Results
Discover options to review, display, and export results.
Block Libraries
Learn about block libraries for building dynamic system models.
Reference Guides
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
Extended Definitions for Advanced Users
PDF file with in-depth information on key topics in the User's Guide.
Scripting Guide for OpenMatrix Language
OpenMatrix is a mathematical scripting language.
Literals
Literals are items that are constant throughout the life of the application. Literals include numeric, imaginary, characters,
strings, logicals, and Other (NaN/Inf).
Data Types
Data types are items that are constant throughout the life of the application and are built into the OpenMatrix language.
Strings
Strings are arrays of characters.
Encoding
Strings in OpenMatrix are encoded using UTF-8 encoding.
Manipulation
Strings are actually arrays of characters. As such, they can be manipulated as vector/matrices.
Variables and Assignments
OML language scripts manipulate data through variables. Variables are referred to by their name (alphanumeric) and can be created
(assigned) and deleted as described in this section.
Indexing
Indexing is used to retrieve one or more specific values out of a collection.
Operators
Operators are used to combine operands.
Operator Descriptions (tables)
Each operator in this section is explained with the operations of scalars, vectors, and matrices that are allowed for
said operator.
Expressions and Statements
Statements are made of expressions and may be a simple expression or a more complex variety of expressions.
Flow of Control and Looping
Loops are used to perform the same set of statements multiple times.
Workspace and Scoping Rules
There are two types of workspaces: Local and Global.
Functions
Functions are packets of statements that can be used repeatedly.
Scripts and Functions
OpenMatrix statements persist in .oml files.
Files
This section describes files that can be manipulated by the OpenMatrix Language.
Error and Warning Messages
Errors and warning messages are both output in the console (or the Command Window in GUI mode) of Activate .
Objects in OpenMatrix Language
Objects in OML are defined using the classdef keyword. This creates a blueprint for an object but does not actually create (instantiate) anything.
Reference Guide for OpenMatrix Language Functions
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Block Reference Guide
Describes all of the blocks in the installed Activate library.
Glossary
Key terms associated with the software.
Keyboard Shortcuts
Define shortcuts to common operations.
Encoding
Strings in OpenMatrix are encoded using UTF-8 encoding.