Adds an imported source to the simulation environment.
Syntax |
Description |
---|---|
addimportedsource; |
Adds an imported source to the simulation environment. This function does not return any data. |
Example
The following script commands will add an imported source to the simulation environment, assign a name to it and load an E field profile from a *.mat file.
addimportedsource; set("name","source2"); # Load a field profile saved in Matlab file named myfile.mat select("source2"); importdataset("myfile.mat");
To see an example of how script commands can be used to create an imported source using monitor data go to this KB page: Custom source profile from monitor data .
See Also
List of commands , asapimport , asapload , asapexport , importdataset