[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function help
From: |
damian.harty |
Subject: |
Re: function help |
Date: |
Thu, 23 Feb 2012 11:55:53 -0800 (PST) |
I've tried your example and it works for me, but I have noticed this business
of functions is a little perplexing. For sure if you type the stuff in from
the command line then it works just fine (notwithstanding the feral "r" that
crept in there).
If you want to put it into an m file, you need two separate files. I have
add.m :
and test_function.m :
And then it works. I fail at every attempt to combine them into a single
file...
Damian
-----
Senior Research Fellow - Vehicle & System Dynamics
Coventry University
United Kingdom
--
View this message in context:
http://octave.1599824.n4.nabble.com/function-help-tp4414098p4415043.html
Sent from the Octave - General mailing list archive at Nabble.com.
- function help, Tom Bohdan, 2012/02/23
- Re: function help, Doug Stewart, 2012/02/23
- Re: function help, Ben Abbott, 2012/02/23
- Re: function help,
damian.harty <=
- Re: function help, damian.harty, 2012/02/23
- Re: function help, Jordi GutiƩrrez Hermoso, 2012/02/23
- Re: function help, Ben Abbott, 2012/02/23
- Re: function help, Ben Abbott, 2012/02/23
- RE: function help, Damian Harty, 2012/02/24
- Re: function help, Doug Stewart, 2012/02/24
- Re: function help, damian.harty, 2012/02/24