## Exchanging data with Mathcad

Embed can exchange data with Mathcad v14 by embedding a
Mathcad document in an Embed diagram. The primary purpose of embedding a Mathcad
document is to run a simulation in Embed that depends on one or more Mathcad
calculations. These calculations can be performed:

•
To provide initial conditions for an Embed simulation (evaluated once at
the beginning)

•
As a part of the simulation (evaluated at every simulation step)

•
Using the end results of an Embed simulation as inputs (evaluated only
once at the end)