Could somebody help to export data from MuPAD notebook to *.m flie?

I just need help to export a function build in MuPAD notebook to an Matlab m file. I'll be glad if someone could help me to work out this problem.

Answers (1)

You can use MuPAD's write() to write MuPAD proc's as text files.
You can use MuPAD's generate::MATLAB() to convert MuPAD proc's into text form, which you can then write to a file with MuPAD's fprint(); there is an example in the generate::MATLAB documentation.

Products

Asked:

on 19 May 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!