how to convert a DLL file into an m file ?

5 ビュー (過去 30 日間)
Ano
Ano 2017 年 2 月 13 日
回答済み: Walter Roberson 2017 年 2 月 13 日
Hello! I have found a matlab codes which have some files with DLL extension and I would like to know their contents, is it possible to convert them into .m files? if not how can I read them ??! Thank you!

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 13 日
You could get a Decompiler that created C code. However, there is no known program for automatically converting C into MATLAB, and doing so is not generally possible as there are some things that can be done in C that cannot be done in MATLAB.
When MATLAB code is compiled to a .dll using MATLAB Compiler (in older versions) or MATLAB Compiler SDK (newer versions) then it is not compiled directly to C: instead, the internal threaded interpreted data structures are written as data in encrypted form, and a MATLAB runtime library is used to interpret the data structures at execution time. It is intended that this be difficult to convert back to MATLAB code.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by