I need to use Matlab for an assignment and I'd like to install it on my computer instead of trekking to my uni's computing center. Will code written on one version work the same on another version?
>>7674814
depends
read the documentation on your functions.
>2015
>Using MATLAB
>not using Sage
>>7674814
>Using proprietary software to do science
>2015
>not using Python/C/C++, and their glorious, free (as in freedom, and as in beer) libraries
You do the time numerically intensive stuff in C/C++, and manage stuff with python. Sometimes you have to use old Fortran libraries, but they are relatively easy to call from C. Real men port old Fortran code, instead of just calling it.
>>7674847
i hearcd c++ has really nice variable tracking and plotting tools.
jk
but because you're too retarded to tell the difference between a program and a programming language you wouldn't understand.
>>7674854
MATLAB is a programming language you dibshit.
>>7674847
You can use C and Fortran code in MATLAB.
http://mathworks.com/help/matlab/ref/mex.html
>>7674816
>This
Also try not to use functions for libraries if you care about reusing your code in another machine (usually, universities have access to ALL the libraries so if it's for assigment only, it should be OK).
To answer your question directly: Not always.
For the most part, this is not a problem. I often run into problems where a function will expire in a newer version or where I have had to use a function that is not available in the version I was using.
MATLAB is fun, fast to setup, and easy. It isn't a real language (Learn C, Java, or C++), but is really useful in engineering contexts.
>>7674870
>SWISS ARMY KNIFE is a magnifying glass you dibshid :DDDDD
>>7674978
see if it runs on octave. if you modify it a bit it might still run in matlab.