From: Dominique on 8 Apr 2010 09:05 that's a shame !! I have the exactly same problem ! did you find a solution since the time you posted ? "Adam " <adam.rowe(a)gmail.com> wrote in message <hj7cop$5f3$1(a)fred.mathworks.com>... > Good afternoon everyone, > > So, I have my program written in MatLab that finds the latest log file that has been created in a folder, reads it, parses it, and spits out a little clean file of essential information. > > I've made a function called StatsWriterX() which encapsulates this entire file. I would like to compile this into a dll and call it in VB6 so that every hour the MatLab dll runs out and grabs the data and parses it for me. > > I don't need to pass it any arguments, I just want it to run as if it were an application. Is there anything special I have to do for this to happen, or can this even be done? > > Thanks in advance for any help!
From: Adam on 8 Apr 2010 09:37 "Dominique " <domdominy(a)gmail.com> wrote in message <hpkkak$15t$1(a)fred.mathworks.com>... > that's a shame !! I have the exactly same problem ! did you find a solution since the time you posted ? > > > "Adam " <adam.rowe(a)gmail.com> wrote in message <hj7cop$5f3$1(a)fred.mathworks.com>... > > Good afternoon everyone, > > > > So, I have my program written in MatLab that finds the latest log file that has been created in a folder, reads it, parses it, and spits out a little clean file of essential information. > > > > I've made a function called StatsWriterX() which encapsulates this entire file. I would like to compile this into a dll and call it in VB6 so that every hour the MatLab dll runs out and grabs the data and parses it for me. > > > > I don't need to pass it any arguments, I just want it to run as if it were an application. Is there anything special I have to do for this to happen, or can this even be done? > > > > Thanks in advance for any help! I didn't manage to get the dll working. What I ended up doing was compiling the Matlab code in to an exe and running it from Visual Basic when I needed it. It worked out perfectly actually!
|
Pages: 1 Prev: How to use matlab generated dll in .NET Next: nan functions, nanmin nanmax ect |