help-octave
[Top][All Lists]
Advanced

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

Re: Writing functions


From: Nicholas Jankowski
Subject: Re: Writing functions
Date: Mon, 26 Oct 2015 17:52:26 -0400

On Mon, Oct 26, 2015 at 9:37 AM, Jonathan Camilleri <address@hidden> wrote:
I resolved this after a bit of trial and error, I needed to rename the file with the same name as the name of the function.  This could be a problem if a file has different functions, so one has to document it to start with and to attempt to provide a solution based on the concept of object orientation where a class would have properties and methods.

I wish there was some easier way of writing out my algorithms, sifting through the list of packages seems time consuming already.




Jon,

Octave (and Matlab, and many others) are interpreted languages [1], not compiled ones. As soon as you save the m-file, you can test run the function in the command window.

[1] https://en.wikipedia.org/wiki/Interpreted_language

Nick J.

reply via email to

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