I want to use Notepad++ to write command files for OCTAVE. I have created a Run command calling OCTAVE that is a console program, but nothing happens when I click Run.
In run I have given the complete path to the OCTAVE executable.
I am using Windows 7.
What do I have to do precisely to execute OCTAVE with the file in Notepad as input file?
Do I have to do something to catch the console output from OCTAVE?
You should do the same as you do from the system's console (cmd.exe).
You can also try NppExec plugin - in this case you'll need to become familiar with some parts of its documentation (Plugins - NppExec - Help/Manual).
In general, I assume you need to type the following to run some OCTAVE's file:
cmd /c "full_path_to_octave_exe" "$(FULL_CURRENT_PATH)"
cmd /c "full_path_to_octave_exe" some_octave_specific_options "$(FULL_CURRENT_PATH)"
If some OCTAVE-specific options are needed, refer to OCTAVE's documentation regarding that.
P.S. By the way, all the things I've mentioned above can be used for ANY compiler/interpreter. Just replace the word "OCTAVE" with a name of different compiler/interpreter to use it under Notepad++ :)