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

Ali Aryan
Ali Aryan 2016년 10월 5일
편집: Ali Aryan 2016년 10월 6일
The steps are almost same. follow these steps deploytool ==> Library Compiler ==> .Net Assembly ==> ...
Gareth Thomas
Gareth Thomas 2016년 10월 6일
Just to complete this you will need MATLAB Compiler SDK
Walter Roberson
Walter Roberson 2016년 10월 6일
No, you only need MATLAB Compiler without the SDK product to compile to shared library.
Sung-En Chiu
Sung-En Chiu 2019년 12월 17일
편집: Sung-En Chiu 2019년 12월 17일
@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

댓글을 달려면 로그인하십시오.

답변 (1개)

Ali Aryan
Ali Aryan 2016년 10월 12일

0 개 추천

The steps are almost same. follow these steps deploytool ==> Library Compiler ==> .Net Assembly ==> ...

댓글 수: 1

Walter Roberson
Walter Roberson 2016년 10월 12일
.Net Assembly would be for the Compiler SDK product, which is not required to compile to .dll

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

태그

질문:

2016년 6월 21일

편집:

2019년 12월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by