While trying to install Matlab , it generally gives an error stating “matlab: command not found.”. Here, we provide a solution to this error.
This error occurs when the Matlab is not in your path. This could be because during installation it was unable to write to the default location, i.e., /usr/local/ and you have installed the Matlab in some other location. Or you have installed Matlab successfully but not added to the path. Let’s go through the solutions for both situations.
1. Running installer with sudo permission
When you run the installer without the sudo permissions (./install), it will not install Matlab in the default location stating “cannot create a folder in /usr/local” or “cannot write to /usr/local/“. You need to provide permissions using the sudo command. But when you try to run the installer with the sudo command then it keeps running without displaying anything.
So, to run the installer with the sudo command, you will first have to allow the root user to access the running X server. Open a terminal (Ctrl+Alt+T) and paste the following command.
$ xhost +SI:localuser:root
Now, you can run the installer with the sudo command as shown below.
$ sudo ./installer
2. Adding to the path
Open the bashrc file.
$ sudo nano ~/.bashrc
Add the following command at the end of the file.
$ export PATH=$PATH:/usr/local/MATLAB/R2022a/bin
Here, R2022a is the Matlab version. Replace it with your installed version.
Save and close the file.
$ source ~/.bashrc
Now, you can type
$ matlab in the terminal to run the Matlab.
- MATLAB. (2022). version 9.12.0 (R2022a). Natick, Massachusetts: The MathWorks Inc.
Video Tutorial: Calculating binding pocket volume using PyVol plugin.
How to generate topology from SMILES for MD Simulation?
[Tutorial] Installing jdock on Ubuntu (Linux).
jdock is an extended version of idock . It has the same features as the idock along with some bug fixes. However, the binary name and the GitHub repository names are changed. We are installing jdock on Ubuntu (Linux).
How to upgrade cmake on Ubuntu (Linux)?
In bioinformatics, cmake is used to install multiple software including GROMACS, jdock, and so on. Here is a short tutorial on how to upgrade cmake on Ubuntu and get rid of the previous version. (more…)
How to install GMXPBSA on Ubuntu (Linux)?
[Tutorial] Installing Pyrx on Windows.
How to solve ‘Could NOT find CUDA: Found unsuitable version “10.1”‘ error during GROMACS installation?
Compiling GROMACS  with GPU can be trivial. Previously, we have provided a few articles on the same. In this article, we will solve an error frequently occurring during GROMACS installation.
Installing Autodock4 on MacOS.
How to install Autodock4 on Ubuntu?
DS Visualizer: Uses & Applications
Protein structure & folding information exploited from remote homologs.
Remote homologs are similar protein structures that share similar functions, but there is no easily detectable sequence similarity in them. A new study has revealed that the protein folding information can be exploited from remote homologous structures. A new tool is developed to recognize such proteins and predict their structure and folding pathway. (more…)
Pathonoia- A new tool to detect pathogens in RNA-seq data.
Detecting viruses and bacteria in RNA-seq data with less false positive rate is a difficult task. A new tool is introduced to detect pathogens in RNA-seq data with high precision and recall known as Pathonoia .
AlphaFill- New algorithm to fill ligands in AlphaFold models.
AlphaFold is a popular artificial intelligence based protein prediction tool . Though it predicts good protein structures, it lacks the capability to predict the small molecules present in the structure such as ligands. For this purpose, AlphaFill is introduced by Hekkelman et al.,. (more…)
How to calculate binding pocket volume using PyVol plugin in PyMol?
How to generate electron density map using Pymol?
Installing PyVOL plugin in Pymol on Ubuntu (Linux).
How to install Kpax on Ubuntu (Linux)?
Kpax is a bioinformatics program to search and align protein structures . It is currently available for Linux platforms only. In this article, we are going to install the latest version of Kpax (5.1.3) on Ubuntu (Linux). (more…)
How to run do_dssp command (mkdssp) in Gromacs 2022?
In the latest version of GROMACS (2022) , there are some issues regarding the gmx do_dssp command. Apparently, this command either does not run displaying a fatal error, or if it runs then it does not read any frame from MD simulation files. In this article, we are going to run the same command for GROMACS 2022. (more…)