Mathematica > Data Manipulation > Importing and Exporting > WDX (.wdx) >

WDX (.wdx)

Mathematica WDX data format.
Used by the Mathematica system for storing and exchanging expressions and data.
WDX is an acronym derived from Wolfram Data Exchange.
Binary format.
Stores arbitrary Mathematica expressions in a serialized, platform-independent form.
Developed in 2007 by Wolfram Research.
  • Import reads in a Mathematica package, evaluating each expression in it, and returning the last one.
  • Export exports a single expression to a Mathematica source file.
  • Import imports the specified element from a Mathematica source file.
  • Import imports multiple elements.
  • Export creates a Mathematica source file by treating expr as specifying element elem.
  • Export treats each as specifying the corresponding .
  • Export exports expr with the specified option elements taken to have the specified values.
  • Export uses rules to specify the elements to be exported.
  • Put can be used to export multiple expressions.
  • See the reference pages for full general information on Import and Export.
"Elements"list of elements and options available in this file
"Rules"full list of rules for each element and option
"Options"list of rules for options, properties, and settings
  • Data representation element:
"Expression"reads and evaluates the expression stored in the file
  • Import by default uses the element for Mathematica WDX files.
  • Meta-information element:
"Version"file format version number
This converts an arbitrary expression to a string in WDX format:
This converts the WDX string back to an expression:
This converts an arbitrary expression to a string in WDX format:
In[1]:=
Click for copyable input
Out[1]=
This converts the WDX string back to an expression:
In[2]:=
Click for copyable input
Out[2]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF