atom-community / atom-script

:runner: Run ( scripts | selections | source ) in Atom
https://atom.io/packages/script
MIT License
734 stars 269 forks source link

Running matlab #1316

Open ahsen1402 opened 7 years ago

ahsen1402 commented 7 years ago

Thanks for this great package i have to issues when running matlab i get the following error

Unable to run

matlab

Second question is i was able to run R code, but do i expect the plots to show or not?

Thanks

rgbkrk commented 7 years ago

Is Matlab on your $PATH?

If you want plots, you may want to try https://github.com/nteract/hydrogen

jo-fleck commented 7 years ago

For the matlab problem, this could help:

In the grammars.coffee file, change the two commands from "matlab" to "/Applications/MATLAB_R2016a.app/bin/matlab" (adjust to your local executable).

Worked for me.