Skip to content

Instantly share code, notes, and snippets.

Created February 2, 2018 11:43
What would you like to do?
task.json file to run currently opened .m (octave/matlab) file with Ctrl+Shift+B
// See
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
"label": "Run",
"type": "shell",
"windows": {
"command": "C:\\Octave\\Octave-4.2.1\\bin\\octave-gui.exe",
"args": ["${file}"]
"group": {
"kind": "build",
"isDefault": true
"presentation": {
"reveal": "always",
"panel": "shared",
"focus": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment