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:
DLL creating by Matlab for Matlab

Subject: DLL creating by Matlab for Matlab

From: Sebo Sebo

Date: 24 Apr, 2008 10:38:02

Message: 1 of 3

I would like to know if it is possible to convert several
M-files into one DLL with Matlab (by using mcc or mex or
other functions) and use this DLL with Matlab.
How can I do that?
I could create DLL with mcc -l xxx.m but I can't use this
DLL with Matlab (error: "??? The function, script or class
xxx cannot be indexed using {} or . indexing.")
I have a project on Matlab with just M-files and I want to
give this project to someone who want to use it on Matlab
too, but I don't want to give him the source M algorithms.
Moreover, I don't want to have an executable.
Someone could help me?

Subject: DLL creating by Matlab for Matlab

From: Vihang Patil

Date: 24 Apr, 2008 11:55:03

Message: 2 of 3

"Sebo Sebo" <mirko51@caramail.com> wrote in message
<fupnua$a2q$1@fred.mathworks.com>...
> I would like to know if it is possible to convert several
> M-files into one DLL with Matlab (by using mcc or mex or
> other functions) and use this DLL with Matlab.
> How can I do that?
> I could create DLL with mcc -l xxx.m but I can't use this
> DLL with Matlab (error: "??? The function, script or
class
> xxx cannot be indexed using {} or . indexing.")
> I have a project on Matlab with just M-files and I want
to
> give this project to someone who want to use it on Matlab
> too, but I don't want to give him the source M
algorithms.
> Moreover, I don't want to have an executable.
> Someone could help me?

doc pcode
Thats what you want.
HTH
Vihang

Subject: DLL creating by Matlab for Matlab

From: Sebo Sebo

Date: 29 Apr, 2008 13:04:02

Message: 3 of 3


> doc pcode
> Thats what you want.
> HTH
> Vihang

Indeed, it is what I found. Thank you

Sebo

Tags for 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