- From the Apps toolbar select MATLAB Coder.
- Select the File which you want to convert.
- Define the input Type for your MATLAB Function.
- Check For Runtime issue and click next.
- Click on the drop-down arrow besides "Generate"
- Select Built type: Dynamic Link Library
- Click through all the next steps and generate the DLL.
Coder and .net Dll examples
79 ビュー (過去 30 日間)
古いコメントを表示
Hi
I have created some custom function, that i would like to use in my .net c# project in Visual Studio.
Is there any examples of using coder and output a .dll file?
Also When we inport the .dll file, is there an limit to inputs to Matlab Function we are using interms of .nets data types, for examples if we have datetime table, how would we input this from a .net project into the funciton in the .dll file?
0 件のコメント
回答 (1 件)
arushi
2024 年 9 月 10 日
Hi Dharmesh,
I understand that you have a MATLAB code which needs to be converted to DLL file.
To generate DLLs from MATLAB files you can use the MATLAB Coder App.
Refer to the documentation below to get more information on using MATLAB coder app.
Hope this Helps!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!