f



variable name to character string

i am writing a plotting function where several matlab variables are
read in to the function. i would like to label the output plots by
the name of the matlab variable. how can i get a string that
contains the name of the matlab variable?

i.e., if my funciont looks like
plot_traces(foo1,foo2,...)

how can i get a character-string that contains the matlab variables
read into the function?

thanks
0
mthorne (4)
5/15/2004 9:44:38 AM
comp.soft-sys.matlab 211264 articles. 25 followers. lunamoonmoon (257) is leader. Post Follow

1 Replies
437 Views

Similar Articles

[PageSpeed] 40

m thorne wrote:
>
>
> i am writing a plotting function where several matlab variables are
> read in to the function. i would like to label the output plots by
> the name of the matlab variable. how can i get a string that
> contains the name of the matlab variable?
>
> i.e., if my funciont looks like
> plot_traces(foo1,foo2,...)
>
> how can i get a character-string that contains the matlab variables
> read into the function?
>
> thanks

 help inputname

/ per
0
poi3 (1061)
5/15/2004 1:36:05 PM
Reply: