Mathematica equivalent of MATLAB

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Saladsamurai
Messages
3,009
Reaction score
7
Hey folks :smile:

I just got my student copy of Mathematica 7 and I am really excited to get started. I have some MATLAB m-files that I want to replicate in Mathematica to help me get the syntax.

I am a little confused as to where to start writing it though... In MATLAB, you can write a code in an m-file and then go to the command window and call it whenever necessary so long as the m-file is in the current working directory. I would like to the Mathematica equivalent now, but I am not sure where to write my code?

Is this possible? Can I write my code as its own separate file and then call it from elsewhere in Mathematica?

Sorry for the noob question, but I just want to get started! :Smile:

~Casey
 
Physics news on Phys.org
Yes, it is called a "package". There is a decent amount of information in the online help about using other packages and building your own.