I want a library from a group of .m files for using in matlab
Show older comments
Hi
I have two .m files:
function z=*Sum*(x,y)
z=x+y;
end
function z=*Subtraction*(x,y)
z=x-y;
end
I want a library from two files. I want use this library in matlab. I want to invoke Sum and Subtraction from this library and get their outputs.
with mcc -m i does not have a .dll file, but .exe file. I want dll file from Sum.m and Subtraction.m.
This line can not help me: mcc -t -L C -W lib:mylib -T link:lib Sum.m Subtraction.m libmmfile.mlib
Answers (3)
Shashank Prasanna
on 22 Jun 2013
0 votes
Maybe this is useful?
aazam
on 22 Jun 2013
aazam
on 24 Jun 2013
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!