Type cmd in the open combo box and click OK to open the command prompt window.
Type "matlab /regserver" and press Enter to register the MATLAB® components to Windows. The MATLAB® command prompt opens and is ready to use.
Add the path of the MATLAB® bin and bin/win32 (or bin/win64 for Microsoft Windows 64-bit) folders to the Path environment variable using the following steps
5.1 Double-click System in Control Panel to open the System Properties dialog. Click the Advanced tab.
5.2 Click Environment Variables. The Environment Variables dialog opens.
5.3 From the System variables list, select Path and click Edit. The Edit System Variable dialog opens.
5.4 In the Variable value box, enter the path to the MATLAB® bin and bin/win32 folders (or bin/win64 for Microsoft Windows 64-bit version), for example, ;...\bin and ...\bin\win64 (or ...\bin\win32) folders, for example:
C:\Program Files\MATLAB\R2010b\bin;
C:\Program Files\MATLAB\R2010b\bin\
win32
win64;
.
5.5In the Variable value box, For earlier versions of MATLAB®, you must enter the path to the MATLAB® runtime/of the runtime directory of MATLAB® ...\runtime\win32(or ...\runtime/win64 for Microsoft Windows 64-bit version\win64),for example, ;:
C:\Program Files\MATLAB\R2010b\runtime\win32;
.
Note
title
Note
You can skip Step 5.5 in the above procedure if the MATLAB® runtime directory does not exist, since this directory only existed in earlier versions of MATLAB® and not in the newer versions. The MATLAB® runtime is not required in these cases.