"vinay chinti" <vinay.chinti@wipro.com> wrote in message
<g9qamd$920$1@fred.mathworks.com>...
> Hi all,
> Please let me know the procedure to call a matlab
> generated dll using c program.
>
> Thanks,
> Vinay
Not sure exactly what you need, but you can look at
mexCallMATLAB, and use it to call any MATLAB function from
C. And maybe you need to look at the MATLAB function
loadlibrary as well.
"James Tursa" <aclassyguywithaknotac@hotmail.com> wrote in
message <g9qcm5$gcp$1@fred.mathworks.com>...
> "vinay chinti" <vinay.chinti@wipro.com> wrote in message
> <g9qamd$920$1@fred.mathworks.com>...
> > Hi all,
> > Please let me know the procedure to call a matlab
> > generated dll using c program.
> >
> > Thanks,
> > Vinay
>
> Not sure exactly what you need, but you can look at
> mexCallMATLAB, and use it to call any MATLAB function
from
> C. And maybe you need to look at the MATLAB function
> loadlibrary as well.
>
> James Tursa
>
Hi,
Consider I have a dll file created by Matlab. Now i
want to call this dll file using c program.
Or
Consider it as a C wrapper for dll created by matlab.
I want to know the procedure to do this.
"vinay chinti" <vinay.chinti@wipro.com> wrote in message
<g9qdk5$44a$1@fred.mathworks.com>...
> "James Tursa" <aclassyguywithaknotac@hotmail.com> wrote
in
> message <g9qcm5$gcp$1@fred.mathworks.com>...
> > "vinay chinti" <vinay.chinti@wipro.com> wrote in
message
> > <g9qamd$920$1@fred.mathworks.com>...
> > > Hi all,
> > > Please let me know the procedure to call a matlab
> > > generated dll using c program.
> > >
> > > Thanks,
> > > Vinay
> >
> > Not sure exactly what you need, but you can look at
> > mexCallMATLAB, and use it to call any MATLAB function
> from
> > C. And maybe you need to look at the MATLAB function
> > loadlibrary as well.
> >
> > James Tursa
> >
> Hi,
> Consider I have a dll file created by Matlab. Now i
> want to call this dll file using c program.
> Or
> Consider it as a C wrapper for dll created by matlab.
> I want to know the procedure to do this.
>
> vinay
"vinay chinti" <vinay.chinti@wipro.com> wrote in message
<g9qpil$78$1@fred.mathworks.com>...
> "vinay chinti" <vinay.chinti@wipro.com> wrote in message
> <g9qdk5$44a$1@fred.mathworks.com>...
> > "James Tursa" <aclassyguywithaknotac@hotmail.com> wrote
> in
> > message <g9qcm5$gcp$1@fred.mathworks.com>...
> > > "vinay chinti" <vinay.chinti@wipro.com> wrote in
> message
> > > <g9qamd$920$1@fred.mathworks.com>...
> > > > Hi all,
> > > > Please let me know the procedure to call a
matlab
> > > > generated dll using c program.
> > > >
> > > > Thanks,
> > > > Vinay
> > >
> > > Not sure exactly what you need, but you can look at
> > > mexCallMATLAB, and use it to call any MATLAB function
> > from
> > > C. And maybe you need to look at the MATLAB function
> > > loadlibrary as well.
> > >
> > > James Tursa
> > >
> > Hi,
> > Consider I have a dll file created by Matlab. Now i
> > want to call this dll file using c program.
> > Or
> > Consider it as a C wrapper for dll created by matlab.
> > I want to know the procedure to do this.
> >
> > vinay
>
> Please can any one do this for me...its urgent
You could probably use LoadLibrary() to open the DLL and
GetProcAddress() to locate the gateway function. But the
Matlab-created DLL will have many external dependencies (in
LIBMX.DLL and LIBMEX.DLL), so it'll be quite a challenge to
resolve everything.
> "James Tursa" <aclassyguywithaknotac@hotmail.com> wrote in
> message <g9qcm5$gcp$1@fred.mathworks.com>...
>> "vinay chinti" <vinay.chinti@wipro.com> wrote in message
>> <g9qamd$920$1@fred.mathworks.com>...
>> > Hi all,
>> > Please let me know the procedure to call a matlab
>> > generated dll using c program.
>> >
>> > Thanks,
>> > Vinay
>>
>> Not sure exactly what you need, but you can look at
>> mexCallMATLAB, and use it to call any MATLAB function
> from
>> C. And maybe you need to look at the MATLAB function
>> loadlibrary as well.
>>
>> James Tursa
>>
> Hi,
> Consider I have a dll file created by Matlab. Now i
> want to call this dll file using c program.
> Or
> Consider it as a C wrapper for dll created by matlab.
> I want to know the procedure to do this.
>
> vinay
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Disclaimer prior to use.