On 9 December 2011 06:57, Søren Hauberg <so...@hauberg.org> wrote: > fre, 09 12 2011 kl. 05:23 +0000, skrev Carnë Draug: >> I noticed that matlab does not have blkproc, instead calls it >> blockproc. I have deprecated the first and made a copy of it under the >> name blockproc for compatibility of matlab. Is this ok? > > Fine by me. Perhaps you want to add a backwards-compatibility function: > > function A = blkproc (varargin) > warning ("blkproc has been deprecated and will be removed in future > versions of the image package. Please use blockproc instead."); > A = blockproc (varargin {:}); > endfunction > > or something like that. > > Søren
Yup. That's what I did. The only difference was that I set a persistent variable so it only gives this warning once per session (exactly what happens in core). Carnë ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev