[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matlab and Octave MEX files compatibility
From: |
Ben Abbott |
Subject: |
Re: Matlab and Octave MEX files compatibility |
Date: |
Fri, 07 Jan 2011 16:31:27 -0500 |
On Jan 7, 2011, at 12:50 PM, Phonon wrote:
> Hello, everyone!
>
> I've used both Matlab and Octave for ages, but in the past few days I've
> been trying to make their MEX files (and such) talk to each other. On
> practically every forum I find people saying that they are compatible;
> however, here's my problem:
>
> Matlab compiles into MEX files having one of the following extensions:
> .mexw32, .mexw64, .dll
> Octave compiles and works with the following extensions: .oct, .mex
>
> Is there any way to make Matlab make a proper .mex file that Octave would
> read, or, alternatively, is there any way to make Octave run .mex32 files?
> There probably is a simple solution, but I've been at this forever and I
> just can't seem to figure it out. Simply renaming a .mexw32 file into .mex
> does not work. In fact, both Matlab and Octave give errors when trying to
> open it. Any suggestions?
>
> Thanks in advance!
>
> Cheers
> -Phonon
Octave's mex is intended to be source compatible with Matlab. It is not binary
compatible.
Ben