nodejs-in-matlab

Call Node.js from within MATLAB

https://github.com/anishkny/nodejs-in-matlab

You are now following this Submission

Convenience function to setup Node.js in MATLAB.

Downloads (if needed) and adds Node.js to PATH in MATLAB.

Once setup, you can use MATLAB's "system" command to seamlessly execute Node.js programs from within MATLAB and marshall results back into MATLAB using "jsondecode".

Usage

>> setupNodejs
v8.12.0
Node.js added to system path.

>> !node -v
v8.12.0

>> !node -e 'console.log(2+2)'
4

Cite As

Anish K (2026). nodejs-in-matlab (https://github.com/anishkny/nodejs-in-matlab), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.