Hey folks(adsbygoogle = window.adsbygoogle || []).push({});

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 Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica equivalent of MATLAB

**Physics Forums | Science Articles, Homework Help, Discussion**