Converting .m to .dll files

4 views (last 30 days)
Hussam Ibrahim
Hussam Ibrahim on 21 Jun 2016
Edited: Sung-En Chiu on 17 Dec 2019
I have Matlab 2016. There is a video online, and a pdf file that show how to convert from .m to .dll files for an older version of matlab. However, the layout looks different from the new version, and I can't seem to find how to convert my matlab file to .dll file. Can someone give me a walk through?
Much Appreciated!
  4 Comments
Walter Roberson
Walter Roberson on 6 Oct 2016
No, you only need MATLAB Compiler without the SDK product to compile to shared library.
Sung-En Chiu
Sung-En Chiu on 17 Dec 2019
Edited: Sung-En Chiu on 17 Dec 2019
@Walter Roberson can you let me know how to do it without SDK?
I used
mcc -l test.m
but it returns Error: Could not check out a Compiler SDK license
I use R2018a

Sign in to comment.

Answers (1)

Ali Aryan
Ali Aryan on 12 Oct 2016
The steps are almost same. follow these steps deploytool ==> Library Compiler ==> .Net Assembly ==> ...
  1 Comment
Walter Roberson
Walter Roberson on 12 Oct 2016
.Net Assembly would be for the Compiler SDK product, which is not required to compile to .dll

Sign in to comment.

Categories

Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!