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 (2024). nodejs-in-matlab (https://github.com/anishkny/nodejs-in-matlab), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Programming > Classes > System Objects > Use System Objects >
Find more on Use System Objects in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
examples/basic
examples/npx
examples/puppeteer
examples/uuid
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
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.