[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.excel.programming

converting matlab scripts to VB to run in excel

I. Miller

12/15/2006 5:20:00 AM

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?
2 Answers

Dave \Crash\ Dummy

12/15/2006 9:23:00 AM

0

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. Miller" <IMiller@discussions.microsoft.com> wrote in message news:60A4BAF9-4FCB-4FFA-9474-307D8C58A8B9@microsoft.com...
| 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?


RapidXLL_NET

12/17/2006 9:49:00 AM

0

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.Ra... for free code samples, projects,
and trial licence.


macropod wrote:
> 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. Miller" <IMiller@discussions.microsoft.com> wrote in message news:60A4BAF9-4FCB-4FFA-9474-307D8C58A8B9@microsoft.com...
> | 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?