Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mail
From: dpb <none@non.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: newbie's question
Date: Mon, 07 Sep 2009 21:55:44 -0500
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <h84hbk$lg1$1@news.eternal-september.org>
References: <74428442-89c6-44e9-a189-eecc7157099b@d15g2000prc.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org U2FsdGVkX1+Rp+mjrD9Oscv0QwxWfzXLXqqr5YOecinM5FvC0fuSBBkN7J8RdtOVHNbqEa+yu/+jwwYdZSHxknHSHrBQRYaQF8sy/ggq4dS0Kns+PdXEZpJWiytYx8dCLCBSqlKmcDvkCLt3wQXOmg==
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Tue, 8 Sep 2009 03:00:04 +0000 (UTC)
In-Reply-To: <74428442-89c6-44e9-a189-eecc7157099b@d15g2000prc.googlegroups.com>
X-Auth-Sender: U2FsdGVkX19L2w9mkt7703RXE6TivRd8yESJ4XkunGw=
Cancel-Lock: sha1:7ePnnYoquv4HrEST20HZDzCC0Q8=
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
Xref: news.mathworks.com comp.soft-sys.matlab:568880


Mike wrote:
> Hi
> 
> I am not familiar with M file.
> How to group some similar or useful M-file functions together?  In
> other programming languages, users usually compile them into a
> library.

ML is interpreted, not compiled so don't need to do anything but put the 
collection of m-files in a directory in the working path.

Once debugged, if speed is an issue, then one can create mex files which 
are compiled callable from ML.

--