Skip to main content
Toggle navigation
Magnolia Documentation
Contents
Index
Search
Magnolia
Introduction
Installation
Understanding the User Interface
Main Menu and Tool Bar
File System Browser
Editor Windows
Command Prompt
Command History
Alerts Window
Alternative "Analyst" User Interface
Creating and Running a Model
Specifying the Model Code
Running the Model Interactively
Using a Script to Run a Model
Modeling Language Overview
Model Translation
CSL Model Structure
Model Sections
Comments and Line Continuations
Variables and Constants
Equations
Elementary Operators
CSL Operators
Derivatives and State Variables
Sorting of Equations
Data Types
Control Flow Statements
Discrete Events
Tables
Procedural Sections
Array Variables and Constants
Functions
Submodels
CSL Language Reference
Keywords
character
cinterval
constant
derivative
dimension
discrete
dynamic
end
for
function
if/else
initial
integer
interval
logical
maxterval/minterval
merror/xerror
model
procedural
real
schedule
table
terminal
Operators
abs
acos
asin
atan
atan2
bound
cbrt
ceil
cos
cosh
dead
dim
exp
expm1
fcnsw
floor
gausi/unifi
gauss
harm
hypot
integ
lerp
log
log10
log1p
lsw
max
min
mod
pow
pulse
ramp
rint
round
rsw
sign
sin
sinh
sqrt
step
tan
tanh
termt
todegrees
toradians
unif
CMD Language Reference
data
display
fit
load
output
plot
prepare
print
procedure
set
start
Using Python for Scripting
Legacy Language Compatibility
Version 1.0
×