To use MATLAB® on a 32-bit or a 64-bit version of Microsoft Windows
- Install MATLAB®.
- Press Windows + R to open the Run dialog.
- 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, ;C:\Program Files\MATLAB\R2010b\bin;C:\Program Files\MATLAB\R2010b\bin\win32;.
5.5 In the Variable value box, enter the path to the MATLAB® runtime/win32 (or runtime/win64 for Microsoft Windows 64-bit version), for example, ;C:\Program Files\MATLAB\R2010b\runtime\win32;.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.
5.6 Click OK.
- Restart Windows.