Hi, i am returning multiple values from a user-function but this gives an error of Too many output arguments , i don't know where i am making the mistake ?
This is my function calling inside the loop,
for i = 1:no_users
[indexes(:,i), users_data(i,:)] = singleuser_traffic(num_event);
And this is the first line of the user-function
function [index, sort_user1] = singleuser_traffic(num_event)
I can't see any mistake in my function call, Thank you so much