- #1
mushi
- 23
- 0
Hi guys,
I am going to ask another very stupid question. But surprisingly, I could not find any help on it on internet. My question is:
I have defined a function which doesn't take any any input and one output. When I called it, the program halts. I have checked the function and it is working fine seperately. My be i am making mistake in calling it. Her is how I defined it:
function [sumout] = sortabc()
...
end
Here is how I am calling it:
sumout = sortabc();
Can anybody kindly tell me if I am making any mistake in calling ir defining the function sortabc.
Regards.
I am going to ask another very stupid question. But surprisingly, I could not find any help on it on internet. My question is:
I have defined a function which doesn't take any any input and one output. When I called it, the program halts. I have checked the function and it is working fine seperately. My be i am making mistake in calling it. Her is how I defined it:
function [sumout] = sortabc()
...
end
Here is how I am calling it:
sumout = sortabc();
Can anybody kindly tell me if I am making any mistake in calling ir defining the function sortabc.
Regards.