How do I provide inputs to matlab API from.net
1 回表示 (過去 30 日間)
古いコメントを表示
Greetings,
My organization is in the process of implementing modeling software that uses significant matrix inversion techniques. Doing this completely in .NET is either too slow or runs out of resources so we are looking at calling a Matlab dll for the calculations. What we cannot determine is how to generate a dll that allows us to send parameters to the dll from .NET that will be used for the Matlab calculations. If there is documentation that covers this functionality, I would appreciate being pointed to it, I have been unsuccessful in finding it on my own.
Thanks in advance,
Ben
0 件のコメント
回答 (1 件)
Kojiro Saito
2020 年 4 月 14 日
Here are examples of dll created from MATLAB Compiler SDK.
MATLAB sample which will be compiled as .NET Assemby.
C# Sample which integrates with the dll below.
.NET Assembly compiled by MATLAB Compiler SDK supports two types of data interface "MW Array API" and "Native .NET API". For detail, please see this document.
Also, between .NET and MATLAB dll, below is a document of the data conversion rules.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!