tags:

views:

145

answers:

3

hi,

i have a very big problem.

ich wrote a programm which is using a matlab dll. i build some classes with the matlab .net builder. it runs on my pc :)

the problem is, i want to use ist on a pc without matlab. so i installed mcr, but it dont run :(

what are the steps i should do? the system variable path is right... where i have to put the dll files? so many questions, please help me

A: 
  • The Matlab-"Compiler" can build an installable package that includes enough of Matlab for your App to run.

  • You could port the Matlab-Parts of your Code to Embedded Matlab and translate Matlab -> C with emlc, which is included in some Toolboxes like the Realtime Workshop. The resulting C-code is usable completely without Matlab.

edgar.holleis
i had build c# classes because i need the values from the matlab methods, because it is too difficult to copy the matlab methods in c#.i added the dll as reference and it works, but not on the pc without the matlab, there i only installed mcr.
Horst
A: 

Installing MCR on the target machine is the right first step. How did you build the .NET dll? Did you use DEPLOYTOOL or MCC? Note that the links I gave are for MATLAB Compiler. Make sure you use the documentation for the particular version of MATLAB Builder you use, in your case probably MATLAB Builder NE. If you do it right, the output of DEPLOYTOOL or MCC will be an executable that installs your DLL and its dependencies on the target machine. In MCC, look for the -B 'dotnet:' option that tells the Builder to make a .NET dll.

mtrw
A: 

You can setup matlab runtime on the other PC.

It's pretty smaller than matlab.

Begtostudy