Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default converting matlab scripts to VB to run in excel

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 329
Default converting matlab scripts to VB to run in excel

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" wrote in message ...
| 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?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default converting matlab scripts to VB to run in excel

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" wrote in message ...
| 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Excel like Matlab? sjlesnia Excel Discussion (Misc queries) 0 March 21st 07 10:14 PM
Matlab & Excel interface? cfman Excel Discussion (Misc queries) 1 March 21st 07 06:03 PM
how can ý call matlab function from matlab to excel gurhan Excel Discussion (Misc queries) 0 November 29th 06 08:40 AM
Excel equivalent of Matlab stem plot John Broderick Charts and Charting in Excel 1 May 31st 05 08:00 PM
converting VBA scripts to stand-alone exe files Philip[_6_] Excel Programming 2 July 22nd 04 03:01 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"