Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Matlab dll

Subject: Matlab dll

From: Aron Sceidt

Date: 16 May, 2011 08:40:20

Message: 1 of 2

Is it possible to write a dll in matlab similar to C#?

Subject: Matlab dll

From: Steven_Lord

Date: 16 May, 2011 13:21:11

Message: 2 of 2



"Aron Sceidt" <sigarru87@gmail.com> wrote in message
news:iqqntk$d9d$1@newscl01ah.mathworks.com...
> Is it possible to write a dll in matlab similar to C#?

If you want to call some C/C++/Fortran code inside MATLAB, either write a
MEX-file or use LOADLIBRARY.

http://www.mathworks.com/help/techdoc/matlab_external/bp_kqh7.html

http://www.mathworks.com/help/techdoc/ref/loadlibrary.html

If you want to create a standalone executable, use MATLAB Compiler or MATLAB
Coder.

http://www.mathworks.com/products/compiler/?s_cid=global_nav

http://www.mathworks.com/products/matlab-coder/?s_cid=global_nav

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

No tags are associated with this thread.

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.

Contact us