Example script for Viewing Simulation Results
The following example shows how to view the simulation results:
; load the setup
maeOpenSetup("solutions" "ampTest" "maestro") > t
; check which tests are there in setup
maeGetSetup() -> ("solutions"amptest:1" "solutions:amptest:2")
; Enable a test "solution:amptest:1"
maeSetSetup(?tests '("solutions:amptest:1"))
; Set the value of global variable
"CAP" as 5p: maeSetVar("CAP" 5p)
; Disable corners C0 and C1
maeSetSetup(?corners '("C0" "C1") ?enabled nil)
; Run Simulation
maeRunSimulation()
=> "Interactive.2"
; open the results
maeOpenResults(?history "Interactive.2")
=> t
; view the list of outputs in the results
maeGetResultOutputs()
; Read the value of a specific output
maeGetOutputValue("outputA" "testA")
=> 2.2
; Find the best design point
maeGetNBestDesignPoints(?count 2)
=> (8 10)
; close the results
maeCloseResults()
=> t
Return to top