On 15.09.2012, at 16:52, Jordi Gutiérrez Hermoso <[email protected]> wrote:
> Lukas,
>
> This is just off the top of my head and I didn't look at your code in
> detail, but how about using a struct instead of a cell to pass the
> arguments and getting the names of the variables with the fieldnames
> function?
>
> HTH,
> - Jordi G. H.
Hi Jordi
Hmm, I was looking for a solution for bode (lticell{:}), not a workaround ;-)
In control-2.3.54 I've just released, I used the following two hacks in the
bode and nyquist functions:
BODE:
-----
try
legend_args = cat (2, legend_args, inputname(sys_idx(k))); # watch out
for bode (lticell{:})
end_try_catch
NYQUIST:
--------
try
legend_args{k} = inputname(sys_idx(k));
catch
legend_args{k} = "";
end_try_catch
Thanks again for your responsive help and best regards,
Lukas
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev