Main Content

Install MATLAB Connector for Hardware Connectivity

MATLAB® Connector™ provides an easy way to establish a connection for communication between MATLAB Online and your hardware device. This app simplifies the integration process, making it easier to connect and control various hardware devices directly from MATLAB Online. MATLAB Connector ensures seamless data communication, enhancing your workflow and productivity.

Install Instructions

Operating SystemInstructions
Windows®
  1. Click MATLAB Connector download link for Windows to automatically download the zip file.

  2. Locate the downloaded zipped folder on your computer.

  3. Right-click the downloaded folder, select Extract All....

  4. Choose a destination folder where you want to extract the files and click Extract.

  5. Open the command prompt.

  6. Navigate to the folder where you extracted the contents.

  7. Run the installer:

    bin\win64\InstallMathWorksServiceHost.exe -feature hwservice
macOS
  1. Click MATLAB Connector download for macOS and download the installer disk image zip file.

  2. Locate the downloaded zip file and extract its contents to a folder of your choice.

  3. Mount the DMG file.

    1. Control-click the extracted DMG file.

    2. Select Open With and choose DiskImageMounter to mount the DMG file.

  4. Open a Terminal window.

  5. Navigate to the folder where you extracted the contents.

  6. Run the installer:

    /Volumes/mathworksservicehost_<VERSION>_maci64_installer/InstallMathWorksServiceHost.app/Contents/MacOS/InstallMathWorksServiceHost -feature hwservice

    VERSION is the MATLAB Connector version you downloaded, for example, 2025.0.1.

    Note

    MATLAB Connector might display some notifications. Enable the notifications by clicking the icon for notifications.

    MATLAB Connector allow notification

Linux®
  1. Click MATLAB Connector download for Linux and download the installer binary file.

  2. Open a Terminal window.

  3. Navigate to the directory where the downloaded .bin file is located.

  4. Run the installer:

    $> sh ~/Downloads/mathworksservicehost_<VERSION>_glnxa64_installer.bin -feature hwservice

    VERSION is the MATLAB Connector version you downloaded, for example, 2025.0.1.

When the installer finishes, MATLAB Connector is ready for use.

Uninstall Instructions

Operating SystemInstructions
Windows
  1. Exit MATLAB Connector.

  2. Go to the Control Panel and select Programs > Uninstall a program.

  3. (Optional) If you are on a shared computer, clear your cached account information by deleting the ServiceHost folder. The default location for this folder is C:\Users\username\AppData\Local\MathWorks\ServiceHost.

macOS
  1. Exit MATLAB Connector.

  2. Open a Terminal window.

  3. Navigate to the MATLAB Connector installation folder:

    cd ~/Library/Application Support/MathWorks/ServiceHost
  4. Run the uninstaller:

    ./v<VERSION>/mci/InstallMathWorksServiceHost.app/Contents/bin/maci64/UninstallMathWorksServiceHost

    VERSION is the MATLAB Connector version, which you can find under Settings in the Connector; for example, 2024.8.0.1.

  5. (Optional) If you are on a shared computer, clear your cached account information by deleting the ServiceHost folder. The default location for this folder is ~/Library/Application Support/MathWorks/ServiceHost.

Linux
  1. Exit MATLAB Connector.

  2. Open a Terminal window.

  3. Navigate to the MATLAB Connector installation folder:

    cd ~/.MathWorks/ServiceHost/<HOSTNAME>

    HOSTNAME is the computer host name.

  4. Run the uninstaller:

    ./v<VERSION>/mci/bin/glnxa64/UninstallMathWorksServiceHost.sh

    VERSION is the MATLAB Connector version, which you can find under Settings in the Connector; for example, 2024.0.1.

  5. (Optional) If you are on a shared computer, clear your cached account information by deleting the ~/.MathWorks/ServiceHost/<HOSTNAME> folder.

See Also

| |

Go to top of page