Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10132

export to .m using a cell command

From Roberto <franceschini.roberto@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject export to .m using a cell command
Date 2012-05-18 09:29 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jp54pl$gpe$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hello, 

 I know how to make a .m file using the "Save As" menu. This forces every time to choose the folder where I want to put it and the file name.

As I update frequently my .m  I was wandering if there is a way to make this using a cell command.

I tried something like

Export["~/my.m", EvaluationNotebook[]]

but the .m created does not contain the current notebook, but it's rather empty.

What should I use to save all the cells in the current notebook into a .m?

Thanks in advance for your replies.
Cheers
Roberto


Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

export to  .m using a cell command Roberto <franceschini.roberto@gmail.com> - 2012-05-18 09:29 +0000
  Re: export to  .m using a cell command Chris Degnen <degnen@cwgsy.net> - 2012-05-23 07:29 +0000

csiph-web