help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oct (and mex) files for different architectures


From: Michael Goffioul
Subject: Re: oct (and mex) files for different architectures
Date: Mon, 12 Sep 2011 14:47:27 +0100

2011/9/12 Richard Crozier <address@hidden>:
> I have matlab instances running on several different platforms all
> accessing the same code directory simultaneously (hosted on a SAMBA file
> share). If I recompiled the source, I would need a new directory for the
> mex file for that machine and would have to tell the matlab instance on
> that machine to access that mex file rather than another mex file in the
> path.
>
> The matlab way lets me have one directory for the C/C++/Fortran code and
> compile my mex file in that directory without fiddling with the path
> etc. If there's a better way which does not involve my copying my entire
> matlab path to a local directory on every machine I'd consider it.

You could put the compiled versions into subdirectories using
octave_config_info.canonical_host_type, then in your octaverc you
can use addpath by appending the same canonical_host_type to
a common root directory.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]