Call Node.js from within MATLAB
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
- Version 1.0.0 (3.77 KB)
-
View License on GitHub
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.
