Linked Questions

4
votes
2answers
148 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 ...
0
votes
0answers
282 views

Getting variables from MX file [duplicate]

I have saved a number of variables via DumpSave to a MX file called ...
4
votes
0answers
101 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-...
68
votes
4answers
16k 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 ...
13
votes
1answer
494 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 ...
10
votes
3answers
577 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 ...
9
votes
3answers
667 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 ...
5
votes
1answer
601 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 ...
3
votes
1answer
107 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 ...
0
votes
0answers
116 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 ...