help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help on Octave and Notepad++


From: Jesper M
Subject: Re: Help on Octave and Notepad++
Date: Tue, 9 Mar 2010 08:25:46 -0800 (PST)

You can also include the current directory of the file you are currently
editing in Notepad++
cmd /c cd /d "$(CURRENT_DIRECTORY)" &&
C:\Program\Octave\3.2.3_gcc-4.4.0\bin\octave.exe "$(FILE_NAME)"
2>"$(CURRENT_DIRECTORY)"\err.txt



martin_helm wrote:
> 
> You can also use the "run" command in notepad++ if you configure it
> correctly
> 
> When you invoke run in notepad++ a dialog opens where you can enter the
> settings 
> how the external program (octave) shall be started, for example:
> 
> cmd /c cd /d c:\mycode && C:\Octave\3.0.5_gcc-4.3.0\bin\octave.exe 
> "$(FILE_NAME)" 2>c:\mycode\err.txt
> 
> This will start a windows cmd shell in the folder c:\mycode where the
> scripts are stored 
> (this is just an example).
> C:\Octave\3.0.5_gcc-4.3.0\bin\octave.exe has to be the path where octave
> is installed 
> on your machine (this will also differ on your machine).
> 2>c:\mycod\err.txt is to save error messages in the file err.txt which can
> be browsed with notepad++.
> 
> Since notepad++ is not really a development environment and I cannot see a
> possibility to use an integrated command shell, I guess it is easier for
> you if you run emacs for windows with octave in inferior mode, when you
> will have some sort of powerfull IDE.
> 
> - mh
> 
> 
> 
> timothy kinyanjui wrote:
>> 
>> Hey,
>> 
>> Since Notepad++ is just a text editor, I think you should check whether
>> you have saved you file with a .m extension. You can then run it by
>> typing the name of the file with any relevant input in the command
>> window.
>> regards,
>> tim
>> 
>> 
>> 
>> ________________________________
>> From: Ider-Od Bat-Erdene <address@hidden>
>> To: "address@hidden" <address@hidden>
>> Sent: Friday, June 5, 2009 9:46:58 PM
>> Subject: Help on Octave and Notepad++
>> 
>> 
>> Dear Octave Community,
>>  
>> I am having trouble to run my simple program that is written on
>> Notepad++. 
>>  
>> My octave version is 3.0.2.
>>  
>> My program was as simple as: a=[1 2] b=a.*2
>>  
>> How do I run program that is on the editor Notepad++? 
>> I tried the Run menu (F5) - didn't work.
>>  
>> Please give me some examples and instructions. Thanks a lot!!
>>  
>> Idre
>> 
>> 
>> 
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Help-on-Octave-and-Notepad%2B%2B-tp23893948p27838075.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]