converting matlab scripts to VB to run in excel

G

Guest

I have a number of matlab scripts but have lost access to the program. Is
there anyway to convert them to an excel add-in or VB application without
rewriting the scripts in VB?
 
M

macropod

Hi,

Conversions can be done, but they require matlab access - specifically the Matlab Builder for Excel. This compiles matlab code with
a wrapper for access through Excel. The compiled code can then be distributed for use with Excel without needing Matlab.

It is fairly expensive (~$4000k USD) for the Builder and ~5000k USD for the Matlab Compiler, and you need a compatible C/C++
compiler (e.g., MS Visual Studio) as well. So you might want to hunt around (perhaphs in a matlab NG/forum) and see if you can find
someone willing to do the compilation for you.

Cheers

--
macropod
[MVP - Microsoft Word]


| I have a number of matlab scripts but have lost access to the program. Is
| there anyway to convert them to an excel add-in or VB application without
| rewriting the scripts in VB?
 
R

RapidXLL_NET

C++ is a much better language to write mathematical routines. VB will
run much slower and free libraries of mathemetical routines will be
harder to find.

RapidXLL_NET can then be used to automatically convert your C++ headers
into Excel add-ins as well as .NET libraries. You will then be able to
use the exact same mathematical logic in Excel as with any of the .NET
languages ( C#, VBA.NET, ... )

Please visit http://www.RapidXLL.net for free code samples, projects,
and trial licence.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top