Converting .m to .dll files

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 ExchangeC Shared Library Integration についてさらに検索

タグ

質問済み:

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