Example script for Viewing and Editing Setup Details
The following example shows how to view and edit the setup details:
; 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)
; save changes in the setup
maeSaveSetup()
; Run Simulation
maeRunSimulation()
Return to top