PC Review


Reply
Thread Tools Rate Thread

converting matlab scripts to VB to run in excel

 
 
=?Utf-8?B?SS4gTWlsbGVy?=
Guest
Posts: n/a
 
      15th Dec 2006
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?
 
Reply With Quote
 
 
 
 
macropod
Guest
Posts: n/a
 
      15th Dec 2006
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" <(E-Mail Removed)> wrote in message news:60A4BAF9-4FCB-4FFA-9474-(E-Mail Removed)...
| 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?


 
Reply With Quote
 
RapidXLL_NET
Guest
Posts: n/a
 
      17th Dec 2006
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.


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" <(E-Mail Removed)> wrote in message news:60A4BAF9-4FCB-4FFA-9474-(E-Mail Removed)...
> | 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?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: For a website, are Excel scripts better than other programming language scripts? Tim Williams Microsoft Excel Programming 10 31st May 2009 05:11 AM
Excel Link (MATLAB) help =?Utf-8?B?SW1wcm9wZXIgQ2FsaWZvcm5pYW4=?= Microsoft Excel Programming 0 20th Nov 2007 10:35 PM
Use Excel like Matlab? =?Utf-8?B?c2psZXNuaWE=?= Microsoft Excel Misc 0 21st Mar 2007 10:14 PM
Matlab & Excel interface? cfman Microsoft Excel Discussion 1 21st Mar 2007 06:03 PM
Matlab & Excel interface? cfman Microsoft Excel Misc 1 21st Mar 2007 06:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:52 AM.