From: Alex Zirbel on
Hi,
I'm trying to compile a matlab program into an executable file for linux. However, I can't get the compiler to work (or even set up, it seems) in Linux.

I'm running R2009a on Ubuntu, in case that matters.

It seems that the first step in compiling is to run "mbuild -setup" from the matlab terminal. When I try to do this, though, I get the following error:

??? Error using ==> mbuild at 190
Unable to complete successfully.

Looking at that part of the mbuild program shows me these lines of code throwing the exception:

try
[varargout{1:nargout}]=mbuild_helper(varargin{:});
catch ex
throw(ex);
end

This means nothing to me, though. Running mcc and deploytool both seem to depend on this, because matlab won't know which compiler to use without this working.

Can anyone help me out (or even suggest a workaround to get this compiled differently)?

Thanks!
Alex