I am using a function created by someone that helps one determine the mixed layer depth in the ocean. I am having trouble assigning the inputs for the function.
Here is a link to the function download where you can actually see the function.
I have tried to look up how to build functions, but I clearly I am not building my own, I am just using an existing one with my own inputs.
The top line of the function itself looks like this:
This is what I need to use to assign the inputs Z (depth), temp (temperature), and salt (salinity):
totname= [ pathname fname];
data = textscan(fid,'%n%n%n%n%n%n%n%n%n%n%n%n%n','headerlines',346);
This might seem like a simple question but I am new to this.
Thank you very much!!!