ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   converting matlab scripts to VB to run in excel (https://www.excelbanter.com/excel-programming/379481-converting-matlab-scripts-vbulletin-run-excel.html)

I. Miller

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?

macropod

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?



RapidXLL_NET

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?




All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com