Home > Archive > Matlab > June 2007 > Reflection
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi, I wan to know if there is a method to get the arguments'
information of a function.
For example, how to write a function which input argument is a
function handle and output argument is the name list of the function
handle's input arguments
| |
| siddys@gmail.com 2007-06-09, 7:13 pm |
| On Jun 9, 7:36 am, ai <ai.nat...@gmail.com> wrote:
> Hi, I wan to know if there is a method to get the arguments'
> information of a function.
> For example, how to write a function which input argument is a
> function handle and output argument is the name list of the function
> handle's input arguments
what about printing out the first non-commented, not eol terminated
line in
the fine referenced by the function handle ? crude but will work
| |
|
| Yes, it works. But it is also cude just as you said.
I have to open the file, read the line and use a regular expression to
match the arguments
On Jun 9, 9:23 pm, sid...@gmail.com wrote:
> On Jun 9, 7:36 am, ai <ai.nat...@gmail.com> wrote:
>
>
> what about printing out the first non-commented, not eol terminated
> line in
> the fine referenced by the function handle ? crude but will work
|
|
|
|
|