Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > System

loaddata

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Loads workspace variables or d-card data from a Lumerical data file (ldf) file. If any current variables exist with the same names as those in the file, the current values will be overwritten.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

loaddata("filename");

Reads data script variables or d-card data from the specified file.

This function does not return any data.

 

Note: This function will check for the file in the current working directory. If the file to read from is in a different directory, either specify the full path or change the current working directory.

 

Examples

Loads file called mydata.ldf. Then use the workspace and showdata commands to see what workspace variables or d-cards have been created.

filename="mydata";

loaddata(filename);

?workspace;     # view workspace variables

?getdata;     # view d-cards (generally the complete set of data from a monitor)

 

See Also

System level, savedata, savedcard, workspace, load, fileexists

Copyright Lumerical Inc. | Privacy | Site Map