I have a short function which uses textscan to read data into a variable.
My problem is that I always get this:
>>function('function.txt')
    ans = 
        {10x1 cell}    {10x1 cell}    {10x1 cell}    [10x1 double]
Is there any way to suppress this, apart from adding a semi colon to the end of the line I use to call the function? I'd like to be able to suppress it without adding the semi colon. I don't want to display anything at all when running this function, I just want to load my file.