In Matlab
xlim
returns e.g. [0,1]. Now I want to access the last value of xlim directly, therefore without storing the xlim return values in a variable. Is that possible?
xlim(2)
is obviously interpreted as a function call, not as getting the value at index 2.
Any workaround on this, except the following, which involes an additional variable?
temp = xlim;
temp(2)