elpollodiablo84 / atom-matlab-editor

MATLAB Editor's functionalities and utilities in Atom
3 stars 0 forks source link
atom editor matlab run script

Atom Matlab Editor

MATLAB Editor's functionalities and utilities in Atom.

Setup

  1. Execute matlab.engine.shareEngine('AtomMatlabEngine') in your current MATLAB instance, or put the line in your startup.m.

  2. Add the folder [...]\.atom\packages\atom-matlab-editor\lib\java to your MATLAB search path.

  3. Insert all the needed informations in the package's config.

    • To retrieve your MATLAB root path, type matlabroot in your MATLAB instance.
    • For the computer architecture, type computer('arch').
    • For the preferences folder and temporary folder, type respectively prefdir and tempdir.
    • Select the relative checkbox if your MATLAB version is strictly older than R2020a.
  4. In case of "no nativemvm in java.library.path" error: add the correct path to your environmental variables as explained in this MATLAB Answers thread, and then restart Atom.

How it works

Atom Matlab Editor utilizes Java as a bridge between Atom and MATLAB, without the need to have a separate Java installation since the package uses the executable shipped with MATLAB.

WARNING: This package is developed on Windows with MATLAB R2020a (initially with R2017a). It's safe to assume that the package works for all the versions in between. For now the focus is on implementing/polishing all the features, therefore compatibility with versions older than R2017a is not guaranteed. For this reason, remember to specify your OS and MATLAB version in any bug report.

Features

Planned Features