Category Archives: MATLAB

Some Useful Machine Learning Libraries.

Especially, with the advent of many different and intricate Machine Learning algorithms, it is very hard to come up with your code to any problem. Therefore, the use of a library and its choice is imperative provision before you start the project. However, there are many different libraries having different quirks and rigs in different languages, even in multiple languages so that choice is not very straight forward as it seems.

Before you start, I strongly recommend you to experiment the library of your interest so as not to say " Ohh Buda!" at the end. For being a simple guide, I will point some possible libraries and signify some of them as my choices with the reason behind.

Continue reading Some Useful Machine Learning Libraries.

Share

Run matlab codes from terminal.

Sometimes it is necessary to run your matlab codes from terminal, likely when you are away on remote connection to your work station. Sometimes you need to run couple of matlab instances from same terminal with additional & sign at the end of the terminal command. Now I'll show a basic command to be able to run youR *.m script from terminal.

matlabOn the terminal you and the directory where the matlab bin file is located you type that command.

./matlab -nodesktop -nosplash -r "run path/to/your/*.m/file"

DO NOT USE  .m FILE EXTENSION JUST LIKE YOU ARE CALLING A SCRIPT AT NATIVE MATLAB ENVIRONMENT.

After -r macro at the quote signs every thing you write is respected as a normal matlab code thus you might write any other execution sequence you want.

Share