When attempting to call GarrettMunkSpectrum with an arbitrary pointwise density profile we recieve the 'Unrecognized function or variable 'blocknum'.' error for line 985: [~,indices,~] = blocknum(diff(self.N2internal)>0);
After searching your code base and mathworks this seems to be the only reference to a blocknum function. I've not quite been able to work out what blocknum should be doing so I haven't been able to write something to fill the gap.
Oh, oops... here's the definition of blocknum---it is part of jlab and certainly shouldn't be used in the code. Short-term work around might be to just install jlab
When attempting to call GarrettMunkSpectrum with an arbitrary pointwise density profile we recieve the 'Unrecognized function or variable 'blocknum'.' error for line 985: [~,indices,~] = blocknum(diff(self.N2internal)>0); After searching your code base and mathworks this seems to be the only reference to a blocknum function. I've not quite been able to work out what blocknum should be doing so I haven't been able to write something to fill the gap.