Discussion:
Mathematica to Matlab - File conversion
(too old to reply)
Nipun
2008-11-12 23:37:02 UTC
Permalink
I have got a Mathematica Model from another researcher and I need to convert it into Matlab, as we only have Matlab installed on the university computers. As, I am an absolute novice at Matlab & Mathematica. I will appreciate if you could please advise me how I could convert the Mathematica (*.nb) files into Matlab - so that I can use this Mathematica model in Matlab?

Thank you for your help!
Per Sundqvist
2008-11-13 00:09:02 UTC
Permalink
Post by Nipun
I have got a Mathematica Model from another researcher and I need to convert it into Matlab, as we only have Matlab installed on the university computers. As, I am an absolute novice at Matlab & Mathematica. I will appreciate if you could please advise me how I could convert the Mathematica (*.nb) files into Matlab - so that I can use this Mathematica model in Matlab?
Thank you for your help!
.
In Mathematica there is a function called ToMatlab[], but your friend has to download it and then put in the content there and copy-paste it for you. Could look messy...

I hope its not of programming type or integrals, or symbolic manipulations etc involved. Then there is no such conversion! You must learn to understand whats going on and hen write the program yourself.
.
/Per
hrh1818
2008-11-13 00:36:13 UTC
Permalink
Post by Nipun
I have got a Mathematica Model from another researcher and I need to convert it into Matlab, as we only have Matlab installed on the university computers. As, I am an absolute novice at Matlab & Mathematica. I will appreciate if you could please advise me how I could convert the Mathematica (*.nb) files into Matlab - so that I can use this Mathematica model in Matlab?
Thank you for your help!
Another possibility is use a Mathematica Player to run and display
the .nb file. With a Player at least you could see the Mathematica
code. Yes you would still have to rewrite the code for use with Matlab
but you will be a lot farther ahead than you are now. You can get the
Mathematca Player at: http://www.wolfram.com/products/player/

Howard
hrh1818
2008-11-13 00:54:38 UTC
Permalink
Post by hrh1818
Post by Nipun
I have got a Mathematica Model from another researcher and I need to convert it into Matlab, as we only have Matlab installed on the university computers. As, I am an absolute novice at Matlab & Mathematica. I will appreciate if you could please advise me how I could convert the Mathematica (*.nb) files into Matlab - so that I can use this Mathematica model in Matlab?
Thank you for your help!
Another possibility is use a Mathematica Player to run and display
the .nb file.  With a Player at least you could see the Mathematica
code. Yes you would still have to rewrite the code for use with Matlab
but you will be a lot farther ahead than you are now.  You can get the
Mathematca Player at:  http://www.wolfram.com/products/player/
Howard
Update, Mathematica 6 Notebooks must be converted to a Mathematica
Palyer type document Wolfram provides a free service for doing the
conversion. There is a link to the conversion service on the
http://www.wolfram.com/products/player/ page.

Howard

Loading...