Professional Documents
Culture Documents
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
DT097/1CAD/ProgrammingModule
ProgrammingNotes&Examples
InstallingOctave3.6.4onWindows8
PostedonOctober12,2013
Introduction
MATLABisanincrediblypowerfultoolforengineers,notjustfornumbercrunchingsolutionstospecific
problems,butasanaidtocreativity.MATLABpoweruserssometimestalkaboutitfeelingalmostlikean
extensionoftheirbrain.EvenforadyedinthewoolCprogrammerlikeme,itsreallyusefultosketchout
algorithmsinMATLABbeforeimplementingtheminC.MATLABsnotationformanipulatingarraysis
wonderfullyconciseandtheabilitytovisualisedatasetsatthedropofahatusingitsgraphingtoolsreallyhelps
thecreativeprocess.
ThemainproblemwithMATLABisthatitsaproprietaryplatformandeventhestudentversioncomeswitha
heftypricetag.ThisiswhereOctavecomesinitsbasicallyanopensourceimplementationoftheMATLAB
language.Thereareotherfreealternatives,likeScilabandFreeMat,butOctaveseemstobetheonethatsmost
consistentwithMATLAB.Providedthatyousteerclearofnoncompatibletoolboxes,yourOctaveMfilesshould
runfineinMATLAB.
InstallingOctaveonWindows
Unfortunately,itsnotimmediatelyobvioushowtoinstallOctaveonWindows.VisitorstotheOctavehomepage
needtodoabitofdetectiveworktofindtheirwaytothecorrectbinaryexecutableinstallerforWindows.
Personally,IthinkitwouldbereallygreatifthecorrectdownloadlinkwasgivenprideofplaceontheOctave
homepage.Icanthelpwonderingwhether9outofevery10peoplewhogolookingforOctaveendupabandoning
theideabecausetheyrenotquitesurewhichversiontotry.
Fortunately,onceyouknowwhattodo,installingOctaveonWindowsisfastandstraightforwardandreallyis
worththeeffort.IdonthaveMATLABinstalledonmylaptopatallanymoreIjustuseOctave.
TheexactfiletodownloadisOctave3.6.4forWindowsMicrosoftVisualStudiowhichisoneoftheversions
providedonOctaveForge.Heresthelink:
octave3.6.4vs2010setup.exe(68.2MB)
Runtheinstallerandacceptthedefaultinstallationlocation(C:\software\Octave3.6.4\)andotherdefault
options,asshowninthefollowingsequenceofscreenshots:
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
1/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
2/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Nowjustwaitwhiletheinstallationtakesplace
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
3/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
FixforWindows8
IfyourerunningWindows8,youllprobablyrunintothesameproblemIdidwhenIfirstranOctavethe
commandpromptwasmissingfromthecommandwindow,asshownbelow:
Ifso,youjustneedtodoonesmallfixonthenewlyinstalledOctavetogetthingsworking.Asaworkaroundfora
gnulibWindows8compatibilitybug,youneedtoaddsomecommandlineswitchestotheoctave.exedesktop
shortcut:RightclicktheOctavedesktopshortcutandclickonProperties.Addthetext"ilineediting"tothe
endoftheTargetfield.AssumingyouinstalledOctaveinthedefaultlocation(C:\Software\Octave3.6.4\),the
completeTargetlinewillbeasfollows:
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
4/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
C:\Software\Octave3.6.4\bin\octave3.6.4.exeilineediting
Hereshowitlookedonmylaptop:
UsingOctave
NowjustclickOKandyourereadytostartusingOctave.Doubleclickonthedesktopshortcuttostartitup.
HereshowitlookswhenIopenitonmylaptop.
Asyoucansee,itlooksverydifferentfromMATLAB.However,wecantypethesamecommandsinOctavethatwe
woulduseinMATLAB.Inthefollowingexample,Illcreateanarrayoftimevalues,useittogenerateasinusoidal
function,andthenplotthesinusoidinafigurewindow.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
5/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
JustlikeinMATLAB,asequenceofcommandscanbestoredinanMfile.However,youllneedtouseanexternal
texteditor.TheoneIstronglyrecommendisNotepad++whichisfreetodownloadfromhttp://notepadplus
plus.org/.Notepad++isanincrediblyusefultexteditorwhichcanbeusedforallkindsofprogrammingtasks
(editingMfilesisjustonethingitsgoodat).
HeresanexampleofwritinganMfileinNotepad++:
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
6/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
OnceIsavedmyMfile,IranitintheOctavecommandwindowasshownbelow:
Follow
UsefulOctavecommands
Follow DT097/1
CAD /
Programming
Module
Inthefinalscreenshotabove,youcanseesomeusefulcommandsformovingbetweendifferentfolders.
Thepwdcommanddisplaysthepresentworkingdirectoryi.e.thefullpathofthefolderyourecurrently
Get every new post delivered
in.IfyouretryingtorunanMfile,pwdshoulddisplaythenameofthefolderthatcontainsyourMfile.
to your Inbox.
Thecdcommandisusedtochangedirectoryi.e.movetoadifferentfolderinsidetheoneyourein.
Enteryouremailaddress
Thecommandcd..leavesthecurrentfolderandreturnsyoutotheonethatcontainsit.
Theclccommandclearsthecommandwindow.
Signmeup
Build a website with WordPress.com
Sharethis:
92
Like
6bloggerslikethis.
Related
OctaveAfreealternativetoMATLAB
With2comments
Firstlesson:Keyconcepts
SecondLabSession
ThisentrywaspostedinUncategorizedandtaggedalternative,fix,free,Install,MATLAB,Notepad++,Octave,Windows,Windows8.Bookmarkthepermalink.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
7/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
120ResponsestoInstallingOctave3.6.4onWindows8
bonineseenamamevisays:
January25,2014at10:32pm
Soanythanksforthis!rgds
Reply
batchloafsays:
January26,2014at1:26pm
Youreverywelcome.
Reply
Alonsays:
February3,2014at10:04pm
Thankalot!!!
Iwasthatclosedendingupasoneofthe9
Reply
happygerard63says:
February4,2014at9:12am
HiGoodDay!
FollowingyourabovestepsandwritingcommandsinMfileIgetNosuchfileorDirectory..
whenItypecd%home%andthecommandsmentionedinyourexampleontheOctavescreen.
FYIplsnoteIhavesavedOctaveinmyF:folderand
Notepad++inC:folder.
SubsequentlyplshelpmetoproceedfurtherandhavethedemoCode_investmentPortfolioandothercodesobtainedonthe
Octave.AlsoplsnoteIhaveWindows7only.
Reply
batchloafsays:
February4,2014at11:19am
HiGerard,
MaybethisissomthingthatsdifferentbetweenWindows7andWindows8?
Insteadofcd%home%,trydoingthis:
cd%homepath%
Letmeknowifthatmakesanydifference.
Ted
Reply
happygerard63says:
February5,2014at9:17am
HiTed,
Thanksforyrmail.
Sorry!itstillsaysNosuchfileorDirectory
Perhapsmaybeifitspossibleforyoutobeonlinefrom0400hrsto2300hrsIST(IndianTime)plsletme
knowyourconvenienttimeandIshallbethereandgostepbystep.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
8/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Thanks
Gerard
batchloafsays:
February6,2014at1:23am
HiGerard,
Canyousupplymoredetails?Ascreenshot(ormorethanone)wouldreallyhelpmetoworkoutwhats
goingwrongforyou.Idontknowwhatdirectoryyourein,orwheretheMfileyouwanttorunisstored
(inwhichdirectory).Ifyoucanprovidemoredetails,Illtrytoadvise.
Ted
happygerard63says:
February7,2014at6:32am
HiTed,
Sorry,Iwasoutyesterday.Thanksforyourmail.Plsnotethefollowing:
BelowthescreenshotofOctavescreenwhenopened:
GNUOctave,version3.6.4
Copyright(C)2013JohnW.Eatonandothers.
Thisisfreesoftwareseethesourcecodeforcopyingconditions.
ThereisABSOLUTELYNOWARRANTYnotevenforMERCHANTABILITYor
FITNESSFORAPARTICULARPURPOSE.Fordetails,type`warranty.
Octavewasconfiguredfori686pcmingw32.
AdditionalinformationaboutOctaveisavailableathttp://www.octave.org.
Pleasecontributeifyoufindthissoftwareuseful.
Formoreinformation,visithttp://www.octave.org/getinvolved.html
Readhttp://www.octave.org/bugs.htmltolearnhowtosubmitbugreports.
Forinformationaboutchangesfrompreviousversions,type`news.
warning:load_path:.:Nosuchfileordirectory
Use`pkglisttoseealistofinstalledpackages.
MSYSshellavailable(F:\Octave3.6.4\msys).
Graphicsbackend:gnuplot.
octave3.6.4.exe:1>
BelowisthescreenshotofNotepad++
C:\DocumentsandSettings\Prakashpc\LocalSettings\Temp\nppLocalization\new1Notepad++
Ted,
Plsnote,Ihavebothindifferentfolders(F:\&C:\).WhenworkingontheabovegraphexampleinFig1,it
worksandIgetaseparatescreenwithgraph.
ButonenteringcommandsastocreationofMfiletocreateinitialcommandsasmentionedaboveitsays,
Nosuchfileordirectoryavailable.
Subsequentlywanttogotothe
demoCodeInvestmentPortfoliotoseetheTimeseriesofthePortfolioValuesthentonormalizingof
valuesandtoplotthenormalizedpricesoftheassetsofthePortfolio.
Plsadvise!
Thanks
Gerard
happygerard63says:
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
9/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
February7,2014at12:24pm
HiTed,
Sorry.PlsnotemysystemisWindowsXPandnot&asstatedearlierafterverifyingwithmystaffwhichis
differentfrommylaptop.Thanks
Gerard
batchloafsays:
February11,2014at11:51pm
HiGerard,
Itsoundslikeyourinstallationmaybeworkingok,butyoujustdonthavetheworkingdirectorycorrectly
settotheactuallocationofyourMfile.IsuggestthatyoustartOctaveandthentypethepwdcomand
whichdisplaysthecurrentworkingdirectory(pwdisshortforpresentworkingdirectory).Thenmove
yourMfiletothatfolderandtryrunningitagain.
Icouldntseeyourscreenshotsproperlybytheway.WordPresswontletyoupostthemhere,butyoucan
justputtheminyourgoogledriveorwhatever,sharethempublicly,thempostthelinksinyourcomment.
Ted
happygerard63says:
February12,2014at7:41am
HiTed,
Thanks!PlshelpmecreateaM.fileandIwillproceedaccordinglyandrevert.
Gerard
batchloafsays:
February13,2014at3:21pm
HiGerard,
AnMfileisjustaplaintextfilecontaininganumberofordinaryMATLABcommands.Forexample,paste
thefollowingintoaplaintextfile(e.g.usingNotepad)andsaveitasexample.m:
x=[1253191317483813]
plot(x)
TofindoutthecurrentworkingdirectoryinOctvave,usethepwdcommand.Onceyouknowwhich
directoryOctaveislookingin(thecurrentworkingdirectory),youcanjustsaveyourMfileinthatfolder
andthenrunitbytypingexampleinOctave.
Ted
happygerard63says:
February14,2014at9:22am
HiTed,
Thanks!IhvstartedworkingwithMatlabandtheaboveexampleworksfinewheretherewasaplot.However
proceedingfurtherontopriceEuropeanOptions,investmentPortfolio,etc.,tryingtoplotthenormalized
pricesofassetportfoliofollowingisthescreenshotoftheMatlabeditor.(1)Plsidentifythemistakes
Iamcommittingfortheerrormessagesandrevertback(2)Plsletmeknowtheproceduretogetthepricesof
IBM,GOOGLE&SIforcomputingTimeSeriesValuesandforLogReturns.SorryfortroublingyouTed!
Thanks.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
10/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
>>functiondemoCode_investmentPortfolio
functiondemoCode_investmentPortfolio
|
Error:Functiondefinitionsarenotpermittedinthiscontext.
>>%%demo_investmentPortfolio:Timeseriesofportfoliovaluesfromtheseriesofassetprices(code).
>>formatshort
>>%%loadthedata
>>S=load(closingPrices_IBM_GOOG_SI_2007_07_01_2013_06_30.txt)
Errorusingload
Unabletoreadfile
closingPrices_IBM_GOOG_SI_2007_07_01_2013_06_30.txt':nosuch
fileordirectory.
>>S=S(1:7,:)%Lookatashortseriesofpricesforallassets
UndefinedvariableS.
>>%%Eachrowcorrespondstothetimeseriesofpricesofanasset
>>%Timeincreaseswiththeindexofthecolums
>>S=S
UndefinedfunctionorvariableS.
>>%%D:Numberofassets,N:lengthofthetimeseries
>>[D,N]=size(S)
UndefinedfunctionorvariableS.
>>%startcountingat0
>>N=N1
UndefinedfunctionorvariableN.
>>%%Plotthetimeseries
>>%%normalizethepricessothattheinitialvaluesareequal
>>initialValue=100.0
>>ford=1:D
normalizedS(d,:)=initialValue*S(d,:)/S(d,1)
end
UndefinedfunctionorvariableD.
>>normalizedS
UndefinedfunctionorvariablenormalizedS.
>>%%plotthenormalizedpricesoftheassetsintheportfolio
>>figure(1)clf
>>figure(1)clf
>>plot(0:N,normalizedS)
UndefinedfunctionorvariableN.
>>axis(tight)
>>xlabel(time(indays))
>>legend(IBM,GOOG,SI,0)
Warning:Plotempty.
>Inlegendat286
>>title(Timeseriesofprices)
>>
Gerard
mamasays:
February24,2014at4:02pm
THannksm8..appreciatethistutorial
Reply
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
11/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
batchloafsays:
February24,2014at11:26pm
ThanksMama,Imgladyoufoundituseful.
Reply
DavidKoenigsays:
March1,2014at7:42pm
Thanksforthetutorial.Followingitallowedmetobreaktheice.IamanexperiencedMatlaberandaMatlabauthor.Iam
interestedinOctavesoIcanshowothershowtousesomeofmyscriptswithouthavingtobuyMatlab.
Dave
Reply
batchloafsays:
March2,2014at11:42am
HiDavid,
Yes,Ifeelmuchthesame.IusedtothinkthatOctavewasathreattoMATLAB,buthavinggivenitabitmore
thoughtIseethingsquitedifferentlynow.OctavewonteverreplaceMATLAB,butitdoescomplementitnicely.I
loveMATLAB,butIwouldbereluctanttoteachittoourundergradsiflearningitshackledthemtoaproprietary
platform.TheexistenceofafreealternativereassuresmethatpeoplelearningtoprograminMATLABwillbeable
topracticeanddeployforfreeiftheychoose.
Inclass,IthereforetrytosticktousingfeaturesthatworkthesameinMATLABandOctave,sothatstudentscan
workwithwhichevertheyprefer.
Ted
Reply
DavidKoenigsays:
March2,2014at6:39pm
HiTed,
Interestingcomments.SinceIamanewbietoOctaveIonlyknowalittleaboutthedifferencesbutIlikewhat
Ihaveseen.Iamretiredfromacompanywherein1989IwasthefirsttopurchaseMatlab(ona5.25inch
flexibledisc!).BythetimeIretiredin2001everyengineerhadtohavehisownMatlabsuite(whetherhe/she
useditornot).NowIthinkitisonthenetworksoanyonecanhaveaccess.Isupposethatmanyuniversities
alsohaveitavailabletotheirstudentsviaanetwork.But,asyoupointout,whathappenswhenthestudents
leaveschool?PerhapstheircompanywillhaveMatlab,too,butitisnicetohaveOctaveintheirhippocket.
Regards,
Dave
DavidKoenigsays:
March1,2014at9:54pm
Hello,IamworkingonconvertingaMatlabscriptintoOctavesuitableformat.Isthereabuiltinroutinesimilarto
audiorecorderthatcangathersoundwavesfromthelaptopmicrophone?
Thanks,
Dave
Reply
batchloafsays:
March2,2014at11:52am
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
12/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
HiDavid,
AudiocapturehasbeenabitofaproblemformeinOctavesinceIstartedusingit.Anumberofusefulfunctions
aresupplied:
http://www.gnu.org/software/octave/doc/interpreter/AudioProcessing.html
However,someofthemneverseemtoworkformeoutofthebox.Forexample,therecordfunctionisprobably
theoneclosesttowhatyourelookingfor,butthatdoesntworkforme.ImrunningOctaveonLinuxhereand
whenItrytousetherecordfunction,Igetsomethinglikethefollowing:
octave:10>x=record(2,22050)
PleasehitENTERandspeakafterwards!
dd:opening`/dev/dsp':Nosuchfileordirectory
error:fread:invalidstreamnumber=1
error:calledfrom:
error:/usr/share/octave/3.6.2/m/audio/record.matline53,column13
Whatthatshouldhavedoneisrecord2secondsofaudioatasamplingrateof22050Hz.Presumably,theerror
relatestothewaytheaudiohardwareissetuponmycomputer.(usingALSAratherthanOSSdrivers?Something
likethat.)
Anyway,youcantryrecordbutifthatdoesntworkforyou,perhapsyoucandowhatIdoandusethesystem
functioninOctavetorunacommandlineaudiorecorder(Imusingarecord)whichrecordsfromthemicrophone
intoawavfileandthenusethewavreadfunctiontoloadthedataintoanarray.Itsabitofahack,butworksfine
forme.Forexample,
system('arecordd2twavblah.wav')
RecordingWAVE'test.wav':Unsigned8bit,Rate8000Hz,Mono
x=wavread('test.wav')
Bytheway,arecordisalittlecommandlineaudiorecordingutilitywhichispartofALSAsoyoullprobablyneed
touseadifferentaudiorecorderinWindows.AccordingtothistutorialIjustcameacross,youcanuseWindows
builtinsoundrecordingutilityfromthecommandlineasfollows:
SoundRecorder/FILEtest.wma/DURATION0000:00:30
Hopethathelps!
Ted
Reply
DavidKoenigsays:
March2,2014at6:31pm
Thanks,Ted.Actually,IhavedecidedtorunOctaveinparallelwithAudacityandgenerateabeepsoundto
coordinatethedatacollection.ThenafterthecollectionisoverIcangointotheAudacitygeneratedwavfile
andpickoutthesoundsIwanttoanalyze.
Dave
batchloafsays:
March3,2014at4:47am
Okcool.Bestofluckgettingitworking!
DavidKoenigsays:
March5,2014at9:00pm
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
13/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
HelloTed,
IhaveforgottenhowIoriginallypostedaquestionsoIwilltagitontoareply.
IamtryingtousesaveandloadtoexchangedatabetweenOctavescriptsandMatlabscriptsandsofarIfind
thatMatlabdoesnotliketoreadmatfilegeneratedbyOctave.IsthereanoptionthatIshouldusewhenI
saveafilefromanOctavescriptthatwillgenerateamatfilethatMatlablikes?
Thanks,
Dave
batchloafsays:
March6,2014at2:38am
HiDave,
TheshortansweristhatIdontknow,butmyfirstinstinctwouldbetoincludeanoptioninthesave
commandtoexplicitlyspecifythatanativeMATLABformatisused.Forexample,tosaveintheMATLAB
v6binaryformat,dosomethinglikethis:
M=[123456789]
savematbinaryexample.matM
Thereareequivalentoptionsforversions4and7(mat4binaryandmat7binaryrespecitively),soif
theabovedoesntworkyoucouldtrythoseinstead.Checkthispageforalistofavailableformats:
https://www.gnu.org/software/octave/doc/interpreter/SimpleFileI_002fO.html
Unfortunately,IdonthaveMATLABtohandtocheckwhetherthisworksornot,butthatswhatIwould
tryfirstmyself.
Ted
DavidKoenigsays:
March6,2014at3:49am
Ted,thanksforyourresponse.AfterfoolingaroundabitIstumbleduponthefollowing:
InOctave:
>z=1:10
>save(z,ascii)
InMatlab
>clear
>loadz
>whos
NameSizeBytesClassAttributes
z11080double
>z
z=12345678910
(whereMatlabandOctavearepointedtothesamedirectory).ThisistheonlytimeIhavebeenableto
transferdatafromOctavetoMatlab.
batchloafsays:
March6,2014at9:56am
Gladtohearyougotitworking!
Ted
JCsays:
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
14/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
March3,2014at5:34pm
Thankyou!yourWindows8tipsworkedonmywin8PCinstantly!whatalifesaver
Reply
batchloafsays:
March3,2014at8:23pm
Gladyoufoundituseful!
Ted
Reply
Pingback:Fixinggnuplotonoctave3.6.4forWindows8|Ceegees
RudigerEscobarWolfsays:
March20,2014at12:13am
Thisisgreat,exactlywhatIneeded.Itfixedmyproblem!
Reply
batchloafsays:
March20,2014at12:41am
Thanks,gladyoufoundituseful!
Reply
JonathanEdwinsays:
March23,2014at1:42pm
heymynameisEdwin,whydoeseverytimeiclosetheoctaveprogram,itsaysthatOcatvehasstoppedworking?thx
Reply
batchloafsays:
March24,2014at12:09pm
HiEdwin,
Sorry,Imnotsurewhyyoureseeingthaterror.Areyouexitingproperlyi.e.bytypingexitorareyoujust
closingtheconsolewindow?
Iwoulddefinitelyrecommendexitingbytypingexit,soifyourenotdoingthatalreadythentryitandseeifit
makesadifference.
Ted
Reply
J.Petersonsays:
March27,2014at9:30am
Bytheway,anewerversionofOctavewiththenewGUIisfoundhere:
http://mxeoctave.osuv.de/
Reply
Davsays:
April16,2014at10:50pm
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
15/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Hi!Thankyouverymuchfortheseexplanations.IalsohavebeenworkingbyseveralyearswithMATLAB,andIminterested
inOctave.Atthistime,myproblemisthatIwouldliketousetheOctave3.6.4packages(signals,communications,etc.)ina
Windows8environmentso,anyhelponhowtoinstallthesepackageswouldbegreatThankyouverymuchinadvance
Reply
batchloafsays:
April16,2014at11:03pm
HiDav,
IhaventinstalledanyadditionalOctavepackagesmyselfunderWindows8,soIprobablycanttellyoumuchyou
dontalreadyknow.Haveyoutriedjustinstallingthemthenormalway,usingthepkgcommand.Forexample,if
youvedownloadedapackagefilecalledsomepackage1.0.0.tar.gz,youcouldtrythefollowingcommandatthe
Octavecommandline:
pkginstallsomepackage1.0.0.tar.gz
Theressomemoreinformationaboutithere:
http://www.gnu.org/software/octave/doc/interpreter/InstallingandRemovingPackages.html
SorryIcantbemorehelp.
Ted
Reply
Davsays:
April20,2014at6:46am
HelloTed.Thanksforyourquickresponse.Ireallyappreciateyouranswerthatwas,indeed,helpful.I
installedthepackagesavailableinthislink(
http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/Octave%203.6.4%20for%20Windows%20MinG
)foraWindows7OS,andIfollowedtheinstructionsgiventhere(Ihadsometroublesinunderstandingthe
instructions,sinceImaWindowsguynotaccustomedtocommands,excepttheMATLABones).Justsome
hoursagoIrepeatedthesameonaWindows8OSanditworkedgood.So,thanksagain.
batchloafsays:
April21,2014at7:43pm
Great,gladtohearyougotitworking!
Ted
CyprienAutexier(@sandorfr)says:
April17,2014at10:08pm
Thanks,fixedmyissues
Reply
batchloafsays:
April17,2014at11:09pm
Yourewelcome!
Ted
Reply
pavanyadikisays:
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
16/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
May11,2014at10:18am
Thankyousomuch.Itwouldhavetakenmyweekstimetogetitinstalledwithoutthehelpofthisblog.Sopreciseand
informative.
Reply
batchloafsays:
May11,2014at3:28pm
ThanksPavanyadikigladyoufoundituseful!
Ted
Reply
Bayerwaldlersays:
June14,2014at4:27pm
ItriedtoinstallOctaveunderWindows8beforebutitdidntworkbecauseofthepromptbug.Thanksfortheveryclear
instructions!Seemstoworkfine,thegnuplottookquiteawhiletoinvokeatfirst.Thefollowingcallswentveryfastthough.
Reply
batchloafsays:
June15,2014at11:57pm
Isupposegnuplottakesawhiletopopupbecauseithastheoverheadoflaunchinganewprocess.Ittakesafew
secondsformetoo.
Ted
Reply
Alansays:
June15,2014at6:40am
SoherewasmetryingtogetOctaveupandrunningonmynewcomputer,andIgoogledmyselfbroughttothisblog,onlyto
findthatitsmyoldfriendTedwhowalkedmethroughit!CheersTed!Hopealliswellwithyou!
Reply
batchloafsays:
June16,2014at12:07am
Wow,itreallyisasmallworld!Howareyou?RichardandIwereonlytalkingaboutyouonFriday.Funnyenough,
itwasntunrelatedtoMATLAB.IvebeenthinkingaboutdoingabitofLPCimplementationonamicrocontroller
foranassistivetechnologyidea,butIthoughtIdbeginbydoingitinMATLAB/Octavefirst,justtogetmyhead
arounditproperly.IwasmentioningtoRichardthattheconversationyouandIhadaboutitacoupleofyears
backinAnseoreallyhelpedtoclarifymyunderstanding.
Ted
Reply
Nosleepbynightpersonsays:
June16,2014at7:48am
Thankyousomuchforyourblogpage.Veryclearandconcise.BestRegards.
Reply
batchloafsays:
June16,2014at11:29am
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
17/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Thanks,yourewelcome!
Reply
bardonthewiresays:
June18,2014at4:49am
Thanksmuch!Iwaswonderingwhattodowhenthecommandpromptdidntshowup,andwassogladIfoundyourarticle.
Reply
batchloafsays:
June18,2014at6:10am
Yourewelcome!Gladyoufoundituseful.
Ted
Reply
lastdreambendersays:
July24,2014at9:15pm
Thankyouforyourpost!Ihaveaquestiontoask.Ihaveamakefiletorun,incommandpromptmakecommandresultsin
errorsaying,octave:commandnotfound.ThenIfollowtheinstructionsyoudeclare,butstillIgetthesameerror.Doyou
haveanyideawhatthereasonmightbe?Thanksalready!
Reply
batchloafsays:
July25,2014at7:59am
Imnotsurewhyamakefilewouldbecallingoctave.Whatisthemakefileyourerunning?Ifitreallyistryingto
runOctaveforsomereason(maybeyourebuildingapluginforOctaveorsomething?)thenyouprobablyneedto
ensurethattheOctaveinstallationfolder(theonewheretheactualOctavebinaryexecutabletheexefile)isin
yoursystempath.
Ted
Reply
JohnChadwicksays:
August16,2014at9:24pm
FantasticexplanationjustwhatIneededtogetOctaveworking.ThanksTed.
P.S>Tochangetoadirectorywithspacesinitthenencloseinquotes,e.g.cdMyOctaveFiles
Reply
batchloafsays:
August16,2014at11:38pm
ThanksJohn!
Ted
Reply
PaulDayssays:
August17,2014at10:04pm
Thanks!ItworksonWin8.1withOctave3.2.4
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
18/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Reply
batchloafsays:
August18,2014at9:06am
ThanksPaulthatsgoodtoknow.
Reply
HugoCabrerasays:
August29,2014at8:53am
Thankyouverymuch.Yousavedmydayatleast.
HugoCabrera
GreetingsfromZrich
Reply
batchloafsays:
August29,2014at11:14am
Yourewelcome!
Ted
Reply
Jacksays:
August30,2014at11:36pm
InUsingOctave.whatlanguageareyouusing?
Reply
batchloafsays:
August31,2014at12:25pm
ItsbasicallythesamelanguageasMATLAB.Thereareprobablysomeminorsyntaxdifferences,butImnotaware
ofthem.ThebigdifferenceyoullencounteristhatmanyofMATLABsapplicationspecifictoolboxesarenot
availableinOctave,whichmeansthatifyoureanexperiencedMATLABuseryoumayfindthatsomefamiliar
commandsaremissinginOctave.Forexample,onethingthatImissinOctaveisMATLABsuicontrol,whichI
useforcreatingsmallGUIapplications.
Reply
Jacksays:
September1,2014at12:20am
Thankyouverymuch!
SACHUsays:
September2,2014at9:42am
Thankyouallfortheusefulinfo,isoctaveonlyforMATLAB?orcanIuseitwithvisualstudioc++.Ifsohowtoplotfrom
.cppcoding.Itwouldbeagreathelpformyproject.
Reply
batchloafsays:
September2,2014at11:06am
HiSACHU,
ItiscertainlypossibletointegrateOctavecodeintoC++usingthesuppliedC++library.Forexample,seethis
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
19/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
exampleontheOctavepageonWikipedia.However,ifyoujustneedtoplotagraphofsomenumbersthatyou
haveinaC/C++array,usingOctaveprobablyisntthesimplestoption.Ontheotherhand,ifyouneedtouseother
featuresthatOctaveisgoodat,suchasalotofmatrixcalculation,thenitcouldwellbeworthconsidering.
Canyouexplainalittlemoreaboutexactlywhatyouretryingtodo?Ifso,IcantrytoworkoutwhetherOctaveis
anappropriatesolution.
Ted
Reply
batchloafsays:
September2,2014at11:23am
Oh,andIforgottoansweryourquestion:YouaskedwhetherOctaveisonlyforMATLAB.Well,inaway
yes,andinanotherwayno.Insimpleterms,OctaveisafreealternativetoMATLABitssomethingyou
useinsteadofMATLABtorunMATLABcode.
Personally,IstilluseMATLABinmyclassroomteaching,sinceitsreallyusefulforourstudentstobe
familiarwithitwhentheygooutintoindustry.However,whenImwritingMATLABcode(i.e.Mfiles)on
myownlaptop,IuseOctavebecauseitsfree.Also,IencouragemystudentstoinstallOctaveontheirown
computerssothattheycanpracticewritingMATLABcodeathome.Also,Octavemakesanabsolutely
brilliantdesktopcalculator,soIuseitallthetimeforthat.
OnethingthatsreallyreallyusefulaboutOctaveis:Ifyouhavesomecode(sayanalgorithm)thatyouve
writteninMATLAB,butyouwanttodeployitinaprogramthatneedstorunoncomputersthatdont
haveMATLABinstalled,Octaveprovidesawayofdoingthat,eitherasastandaloneprogram,orby
embeddingyourMATLABcodeintoanotherlanguauge(e.g.C++,Python).Mathworks(whosupply
MATLAB)dosupplyacommercialproductfordeployingMATLABcodeasastandaloneapplication,and
itsreallygood,but(atleastthelasttimeIlooked)itsveryexpensive.
Allthingsconsidered,IthinkOctavecomplementsMATLABverywell.MATLABistheoriginalandstill
thebestinfact,Ithinkitsoneofthemostprofoundlyempoweringsoftwaretoolsforengineering
creativitythathaseverbeencreated.However,ifImexperimentingwithanalgorithmofsomekind,Im
muchhappiertowriteitinMATLABcodenow,becauseIknowIllhavetheoptionofdeployingitwithout
licenserestrictionsiftheneedarises.
SACHUsays:
September3,2014at4:05am
Thankyousirforyourkindreply,
ActuallyIamanavionicsstudentandIhavemyalgorithmcodeinc++,toviewtheanimatedoutputofhowtheunmanned
aerialsystemfindsitspathinanobstacleenvironment,avoidingtheobstaclesiswhatmyprojectis..howoctaveisusefulfor
this?andwhatarethecommandsthatineedtousetointerfacewithit?
Reply
MathStudentsays:
September4,2014at3:46am
Thanksabunchforthis,youjustsavedmealotoftroublewithfiguringouthowtosetupOctaveforWin8.Iwasalmostready
torunitinavirtuallinuxbox.
Reply
batchloafsays:
September4,2014at8:52am
Yourewelcome.Gladtohearyougotitworking!
Ted
Reply
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
20/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Kylesays:
September6,2014at2:16am
Ispentalongtimetrying(andfailing)toinstallthisonmylaptoponmyown,thismadeitsomucheasier!Installed&
everythingseemstobeworkingperfectly,thankyou!
Reply
batchloafsays:
September6,2014at11:15am
ThanksKyle,Imgladtohearyoufoundituseful!
Ted
Reply
SACHUsays:
September6,2014at4:09pm
Thankyousirforyourkindreply,
ActuallyIamanavionicsstudentandIhavemyalgorithmcodeinc++,toviewtheanimatedoutputofhowtheunmanned
aerialsystemfindsitspathinanobstacleenvironment,avoidingtheobstaclesiswhatmyprojectis..howoctaveisusefulfor
this?andwhatarethecommandsthatineedtousetointerfacewithit?
Reply
EdSongsays:
September8,2014at6:06am
Imtryingtotestasimpleprogramonnotepad++andseeifitrunsonOctave.Thenotebook.mfileissavedin
C:\software\Octave3.6.4\bin\name.m.txtNotepad++
ItypepwdandtheresponseinC:\software\Octave=3.6.4
sometimesItype
bin/
andtheresponseissyntaxerror
Howeverbin\seemstowork,
ThenItype
name
andIgetsyntaxerror.Myprocedurefollowstheproceduredescribedabove.Howcomemyprocedureisnotworking?
Reply
batchloafsays:
September8,2014at8:35am
HiEd,
Ithinktheremightbeafewthingswrongthere.
Firstly,IwouldntsuggeststoringyourownOctaveprogramsinC:\software\Octave3.6.4\bin\.That
directoryisforfilesthatarepartofOctaveitself,ratherthanthecodeyouwriteyourself.Isuggestyoucreatea
directorysomewhereelse(suchasonyourDesktop)tostoreyourcode.Forthesakeofargument,letsassume
thatyoucreateafoldercalledC:\Users\Ed\Desktop\MyOctaveFiles\
Now,whenyouwriteyourOctaveprograminNotepad++,itsabsolutelyessentialthatyousavethefilewith
the.mextension(andonlythatextension).Theremustnotbeanyfurtherfileextensionafterthat,sofor
exampleyourfilename"name.m.txt"wontwork.Letsassumethatyousaveyourfileas
C:\Users\Ed\Desktop\MyOctaveFiles\name.m
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
21/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Ifforsomereasonyourtexteditorisautomaticallyaddingthe.txtfileextension,tryusingtheSaveAsoption
andfromthefiletypedropdownlist,select"AllFiles*.*"(Imightnothavethatexactlyrightletterfor
letter,buthopefullyitwillbeclearwhattoselectfromthedropdownlist).Thentypeinthefilenameas
"name.m"
Therearetwowaysyoucanrunyourprogram.ThefirstwayistorunOctavesothatyouhaveitsinteractive
commandwindowinfrontofyou,thenmovetothedirectorywhereyourname.mfileisstored(usingthecd
command)andtypenametorunyourprogram.Forexample,onceyouhavetheOctavecommandwindowin
frontofyou
cdC:\Users
cdEd
cdDesktop
cdMyOctaveFiles
name
Thesecondwayyoucanrunthesame.mfileistolaunchOctavedirectlyfromtheWindowscommandline
withthenameofyour.mfileincludedasacommandlineargument.Youwouldjusttypeinsomethinglikethe
following(Imincludingthefullpathforoctave.exeincaseitsnotinyourdefaultWindowspath)intoa
regularcommandwindow(i.e.notinOctave):
C:\software\Octave3.6.4\bin\octave.exeC:\Users\Ed\Desktop\MyOctaveFiles\name.m
Ted
Reply
EdSongsays:
September8,2014at5:28pm
Thanks.Illgiveyoursuggestionsatry.However,Ialwayssavemyfileintheformofname.m.However,the
computerautomaticallyaddsthe.txttothenameofthefile.
batchloafsays:
September9,2014at12:04am
HiEd,
YourprogramwontruncorrectlyinOctaveifthefileissavedwiththe.txtextensionsoyouneedto
eliminatethat.IfyouarewritingyourprograminNotepad++,itseasyjustfollowthesestepsexactly:
1. ClickFile>SaveAs
2. IntheSaveAsdialogbox,navigatetothedirectorywhereyouwanttosavethefile,e.g.
"C:\Users\Ed\Desktop\MyOctaveFiles\"
3. IntheSaveastype:dropdownbox,selectAllFiles(*.*)
4. IntheFilename:field,typeinname.m
5. ClicktheSavebutton.
Ifyoufollowthestepsabove,the.txtextensionwillnotbeaddedtoyourfile.
Ted
EdSongsays:
September9,2014at12:07am
Thanks.Thisshouldbehelpful.Infact,Imgoingtogetaprintoutofyourinstructions.
batchloafsays:
September9,2014at12:12am
Bestofluckandpleaseletmeknowhowyougeton.
Ted
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
22/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
EdSongsays:
September9,2014at1:30am
Unfortunately,Igetanewerrormessage:nameundefinednearline5column1.
MyprocedurewastocreateanewfolderonmydesktopcallMyOctaveFilesandIsavedname.cominthe
folderasaAllFiles(*.*).Thatdideliminatethe.textlabelingproblem.
ThenIsavedinsidethefolderthefilename.m.Idoseethepathwaylistedas
C:\Users\Ed\Desk\MyOctaveFiles\name.m
IthenontheOctavecommandwindowtyped
cdC\:Users
cdEd
cdDesktop
cdMyOctaveFiles
mostofthetimetheabovesequenceworked,butonceinawhileIgotaerrormessage.
FinallyItypedname,andalwaysgettheerrormessageabove.
batchloafsays:
September9,2014at7:12am
Donotsaveyourfileasname.com!Thatwillnotwork.
Yourfilenamemustendinthe.mextensions.Forexample,name.m
IneedtodoublecheckthatyouaretypingthesecommandsintheOctavecommandwindow:
cdC:\Users
cdEd
cdDesktop
cdMyOctaveFiles
name
Inotherwords,youneedtorunOctaveandthentypethecommandsintotheOctavewindow.Typing
themintoanormalWindowscommandwindowdefinitelywillnotwork.Thecdcommandscouldwork,
butthename.mprogramdefinitelywillnotrun.
Ifitstilldoesntwork,theninOctavebeforeyourunyourprogrambytypingname,runthepwd
commandtocheckthatyouaredefinitelyinthecorrectdirectory.Ifyouareinadirectoryotherthanthe
onewherename.misstored,itdefinitelywillnotwork.
Thecdcommandchangesthedirectoryyouarein,soifanyofthosecommandsproducedanerror,then
youreprobablyinthewrongdirectory.
Youcanalsotypethelscommandtolistthefilesinthecurrentdirectory(Notethatthatcommandistwo
letters:lforlemonandsforsimon).Ifyoutypelsandthefilename.misnotshowninthelistoffiles,
thentypingnamedefinitelywillnotrunyourprogram.
Ted
EdSongsays:
September9,2014at4:36pm
Onceagain,thanksforyourtime.Ivedonewhatyousuggested,andwhenItypelswhileintheC:\Users\Eddirectory,
MyOctaveFilesnevershowsuponthelis,butProgramsdidshowup.ThenIputMyOctaveFilesintoPrograms.Ithentyped
cdPrograms.Thatworked,thenItypedlsagain,andsomeofmyfoldersandfileswaslisted,butnotMyOctaveFiles.Sothere
isaproblemofOctaveingettingittorecognizeMyOctaveFilesasadirectory.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
23/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
FYI,theprogramIvetypedis3+4,andwhenItypename,Iwant7toshowuponthescreen.
Reply
EdSongsays:
September9,2014at4:53pm
IshouldclarifyandsaythatwhileIwasintheC:\Users\Ed\Desktopdirectory(andMyOctaveFileswasstoredonthe
Desktop)MyOctaveFilesnevershoweduponthelist,butProgramsdid.
Reply
batchloafsays:
September9,2014at5:20pm
HiEd,
Ok,IvedonethebasicprocessonmyPCandcapturedscreenshotsofeachstage,whichyoucanhopefullyuseto
identifywhereyouregoingwrong.
First,IopenedNotepad++andtypedinyourveryshortprogram:
ThenIselectedSaveAsfromtheFilemenu.Inavigatedtothefolder
"C:\Users\admin\Desktop\MyOctaveFiles",settheSaveastype:dropdownboxtoAlltypes(*.*),andsetthe
filenameto"name.m".Finally,IclickedtheSavebutton.
Here,youcanseethefilesittinginthefolder"C:\Users\admin\Desktop\MyOctaveFiles":
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
24/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
ThenIranOctaveandtypedinthecommandsshownbelow:
ThefourcdcommandsareusedtomoveintothefolderC:\Users\admin\Desktop\MyOctaveFiles.Asyoucan
see,onceIminthecorrectfolder,thenameprogramrunswithoutanydifficulty.
Finally,justtoshowyouwhatyoushouldseewhenyourunthepwdandlscommands,hereshowitlookedonmy
screen:
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
25/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Hopefullythatmakesitclearer?
Ted
Reply
EdSongsays:
September9,2014at5:38pm
Hallelujah!andthanks.Itfinallyworked,butImstillscratchingmyhead.TheonlythingIchangedwasthe
nameofthefilefromPikettyEffect.mtoname.m.Forsomereasonthatchangedfixedeverything.
batchloafsays:
September9,2014at9:08pm
Ohwell,nowthatyouhaveoneexampleworkingatleastyoushouldbeabletoexperimentwithOctavea
bittolearnyourwayaround.Bestofluckusingit!
Ted
EdSongsays:
September10,2014at2:07am
Thanks.Imnowabletocreatefilesinnotebook++andrunthemproperlyingnuoctave.However,Im
unabletosaveplotsasjpegorlatexformattedfiles.Itseemslikegnuoctaveautomaticallysavesthefilesas
postscriptfiles,whichImunabletoopen.Iveexperimentedformanyhours,tryingtofigureoutthecouple
ofmanualsIhave.ThemanualssuggestthatItypeprint(h,filename,fmt).Togetitinjpegformat,Ieither
typeforfmt.jpgorjpeghowever,thatdoesntwork.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
26/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Ivecreatedanewfile(test.m)thatcreatesaplotofasinefunction.Thecodeis
x=linspace(0,9,21)
y=sin(x)
plot(x,y)
IfItype
printhfilename,jpg
Octavesavestheprogramasjpg.ps.Ivetriedaboutathousanddifferentcombinations,andtheresultis(if
thereisnoerrormessage)apsfilesavedinMyOctaveFiles.
Note,IgetanerrormessageifItype
Print(h,filename,jpg)
Seemsliketheparenthesesisnottherightsyntaxeventhoughthemanualtellsyoutousetheparentheses.
TrinhTransays:
September15,2014at7:11pm
Hi,IhavefollowedyourveryhelpfulinstructionsforWindow8.itworks,howeveritcrasheswheneverIcloseitandasmall
windowsaidoctave3.6.4.exehasstoppedworking.
Reply
batchloafsays:
September15,2014at8:18pm
HiTrinh,
IsitpossiblethatyoureclosingOctavebyclickingtheXbuttononthetopcornerofthewindow?Ifso,Iwould
recommendtypingexitinstead,whichprobablyallowsOctavetoclosemoregracefully.ThatswhatIdoanyway
andIhaventexperiencedtheproblemyoudescribed.
Ted
Reply
esong98says:
September16,2014at7:13am
MyGnuOctaveprogramnowcrashes.Whentestingtheprogramout,itseemsliketheonlyproblemisthattheprogram
doesnthaveenoughmemorytomakethecalculations.ButIcantbelievethatstheproblem.Myexcelprogramwasableto
runtheprogramatthisstageinthedevelopment.IcantbelievethatGnuOctavewouldbelesspowerfulthanexcel.The
problembeganwhenIwroteinawhilestatement.WhenItrytoruntheprogramnothinghappens.Iremovethewhile
statement,anditstilldoesntwork.Thisisperplexing,becausetheprogramwithoutthewhilestatementworkedbefore.In
fact,itworkedwiththewhileprocedureacoupleoftimesbeforecrashing.NowmyprogramonlyworkswhenIremovemost
oftheprogramsuchthatonlysimplecalculationsareleft.
Doyouhaveanysuggestions?Imonlyabout1/1000donewiththeprogramming.IfgnuoctavecanthandlewhatlittleI
have,whataremyoptions?
Reply
esong98says:
September16,2014at7:27am
Oh,Idiscoveredtheproblem.Imadeatypoerror,whichcausedaninfiniteloop.
Reply
batchloafsays:
September16,2014at8:14am
Ok,gladtohearyousolvedtheproblem.Iwasgoingtosaythatitsoundedlikeaninfiniteloopproblem.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
27/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Bestofluckgettingtheremaining99.9%ofyourprogramwritten!
Ted
esong98says:
September16,2014at3:37pm
Thanks!
Giuliasays:
September26,2014at8:13am
Thankyou!IhadthesameproblemsyoudescribedandsinceImastudentwhohasNEVERseenmatlaborsimilarIwas
nearlylostbeforeIfoundyourguide!
Haveaniceday.
Reply
batchloafsays:
September26,2014at8:49am
HiGiulia,
Imgladyoufoundituseful!
MATLAB/Octavecanbealittleintimidatingatfirstifyouhaventusedanythingsimilarbefore,butstickwithit
itsdefinitelyworththeeffort.InDIT,weuseittoteachprogrammingtofirstyearengineersonsomeofour
programmesandforthosethatsuccessfullynavigatetheinitiallearningcurve,itsincrediblyempowering.
Bestofluckwithitandthanksagainforyourcomment.
Ted
Reply
SteveDuncansays:
October9,2014at11:12am
Thankyousomuch,probablysavedmehalfaday!
Reply
batchloafsays:
October9,2014at2:02pm
Yourewelcome!Thanksforlettingmeknow.
Ted
Reply
MartinIsays:
October18,2014at5:02pm
Thanksforthis.Reallyhelped.
Reply
batchloafsays:
October19,2014at7:58pm
Youreverywelcome!
Ted
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
28/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Reply
hoiakonisays:
October21,2014at7:44am
Sir,thanksforthisone.
Iwouldalsoliketohowtogoaboutwhentryingtoinstallapackage,sayio.Afterdownloadingthe.tarfile,inwhatdirectory
wouldyouplacethefilebeforecallingtheinstallpackagecommand?Thanksyou!
Reply
batchloafsays:
October21,2014at8:13am
SorryHoiakoni,IhaventdonethismyselfsoIcantreallyadvise.OnceOctaveisinstalled,Ithinkyoushouldbe
abletojustfollowthenormalinstallationinstructionsforthepackagethough.
Ted
Reply
Guillermolvarezsays:
October26,2014at9:02pm
THANKYOUSOOOOOOMUCH!
Reply
batchloafsays:
October27,2014at6:54am
Gladyoufoundituseful!
Ted
Reply
Alexsays:
November2,2014at12:46pm
Thankyou,iprobablywouldhaveabandonedtheideaofinstallingoctavewithoutyourhelp
Reply
batchloafsays:
November2,2014at5:04pm
Gladyoufoundituseful!
Ted
Reply
AdamFeldmansays:
November6,2014at2:13pm
Thanksthisgotmegoingaftersomefrustration.Usingthepersistoptioninthebatchfilewaskey.Withoutit,Icouldnt
understandwhytheOctavewindowdidntstayup.
Reply
batchloafsays:
November6,2014at2:42pm
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
29/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
Yourewelcome!
Ted
Reply
SKSsays:
November16,2014at8:19am
Thanks!Thathelped
Reply
batchloafsays:
November17,2014at9:21am
yourewelcome!
Ted
Reply
asymptoticssays:
December11,2014at4:50pm
ThankyouTed.
IjustcopypastedthewholethinggivenintheTargetbox.Itworked.Copypastingjusttheextrathingshowedsome
problems.NowIamin8thheaven
Reply
batchloafsays:
December15,2014at11:52am
Gladtohearitworkedforyou!
Ted
Reply
Ballosays:
December17,2014at3:40pm
Thx.reallyhappyaboutthisinfo.nowIcanpracticeeasily
Reply
batchloafsays:
December17,2014at4:04pm
ThanksBallo!
Ted
Reply
TEJsays:
December31,2014at9:16am
HiTed!!!
Iamcurrentlyworkingonaapplicationwhichrequireslinuxnativec(MEX)filestobecompiledinmatlab,windows.The
onlysolutionthatiknowofisbyinstallingCYGWIN.Butthatdidnotsolvemyproblem.Iamstillfacinganissuewith
pthreadrelatedfiles.WillOctavesolvemyproblem.Anyhelpwouldbeappreciated.Thanksinadvance.
Reply
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
30/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
sbladessays:
January6,2015at8:23pm
RebloggedthisonSimpleprogrammingforscientificdataanalysisandcommented:
Iranintothesameproblemandforthislinkveryuseful.
Reply
FelipeN.Martinssays:
January12,2015at11:18am
IhadthesameproblemonWindows8.1(promptwasmissing).Thanksforthehelpfulpost!
Reply
batchloafsays:
January12,2015at12:43pm
ThanksFelipe!
Ted
Reply
Prabhsays:
January25,2015at6:19am
Thanksthiswasreallyveryhelpful
Reply
batchloafsays:
January26,2015at7:16pm
ThanksPrabh,Imgladyoufoundituseful.
Reply
shyjuwilsonsays:
January27,2015at9:37am
Thankyouverymuchforyourvaluableinformation
Reply
batchloafsays:
January28,2015at12:09am
Yourewelcome!
Ted
Reply
RahulSinghsays:
February1,2015at7:54am
thanksalotforthedetailedinfouprovidedfortheinstallation,ithelpedalot
Reply
batchloafsays:
February2,2015at10:00am
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
31/32
5/2/2015
InstallingOctave3.6.4onWindows8|DT097/1CAD/ProgrammingModule
YourewelcomeRahul.
Ted
Reply
DT097/1CAD/ProgrammingModule
TheTwentyTenTheme.
BlogatWordPress.com.
https://youneedtoprogram.wordpress.com/2013/10/12/installingoctave364onwindows8/
32/32