To Use Built-in Functions
User function setup example
VG=getVectorData(Vg)
ID=getVectorData(Id)
GM=getVectorData(gm)
VTH=getNumericData(Vth)
GM_MAX=getVectorData(gmMax)
This is an user function setup example. This example uses the diff function to calculate gm
values and the max function to get the maximum gm value.
Also, the getVectorData and getNumericData functions are used in the test execution flow to get
the test result data.
gm = diff(Id,Vg)
gmMax = max(gm)
4-19