I have a huge bunch of data where ne
is a variable. When I load it into MATLAB 2013b, and try to use it, I get
Error using ne.
Not enough input arguments.
Changing all the ne
to some other name would be laborious. Any hacks?
This is a short code snippet:
function test(lambda, range)
% lambda is a number, range is a vector passed like 1:10 %
for i = range
load ('data.mat'); % data.mat contains a variable called 'ne' among others. %
T = exp(-ne);
...
When calling the function, there's the error saying that ne has not been provided with enough input args.