Linked Questions

4 votes
2 answers
301 views

How to find variables set through Get["/some/path/dump.mx"]? [duplicate]

(NB: I could not find any good tags for this post. Please feel free to add better ones.) Suppose that the file /some/path/dump.mx was generated during an earlier ...
kjo's user avatar
  • 11.7k
0 votes
0 answers
587 views

Getting variables from MX file [duplicate]

I have saved a number of variables via DumpSave to a MX file called ...
lio's user avatar
  • 2,336
4 votes
0 answers
139 views

Determining what symbols are defined in a DumpSave / .mx file [duplicate]

Against my better judgement, and in the interest of speedy I/O, I've decided to use .mx files for a project - limitations and all. I'm dealing with a few gigabyte-...
flip's user avatar
  • 1,800
76 votes
4 answers
21k views

How do I save a variable or function definition to a file?

Is it possible to save a function which was created via Interpolation of some data in such a way that I can use this function in a new Mathematica session without ...
partial81's user avatar
  • 3,081
16 votes
1 answer
634 views

Importing an mx file into a context

Consider the following simple code which dumps the global context: var = 5; DumpSave["test.mx", "Global`"]; Now, in a new notebook, I would like to import var in ...
Massimo Ortolano's user avatar
11 votes
3 answers
712 views

Find variable name from DumpSave on a scoped variable

I saved an InterpolationFunction in a ".mx" files using DumpSave on a variable that was scoped by a ...
JxB's user avatar
  • 5,031
9 votes
3 answers
911 views

Why doesn't DumpSave work for elements created within a local notebook context?

I recently noticed that when dealing with notebooks with local context, I cannot successfully DumpSave variables, or, rather, when I call ...
shdrums9's user avatar
  • 337
5 votes
1 answer
719 views

How to transform a DumpSaved .mx file to .m file conveniently?

I have many DumpSave-d .mx files under a directory. They are generated under Linux. The .mx ...
matheorem's user avatar
  • 16.9k
3 votes
1 answer
162 views

Question regarding MX files

Example: I save data to a MX file, like: a=Range[100]; b=Range[1000]; Export["data.mx", {a,b}, "MX"]; Can I after importing ...
lio's user avatar
  • 2,336
0 votes
0 answers
226 views

How to export a list of variables keeping the variable's name?

I'm new to Mathematica and I can't find in this forum the answer to a relatively simple problem I have with my export. I'm sorry if this is a duplicate. I want to export a set (list) of variables ...
symduk's user avatar
  • 1