- https://www.mathworks.com/support/search.html/answers/294939-comsol-model-to-matlab-function.html
- https://www.mathworks.com/support/search.html/answers/284997-collect-and-output-model-variable-values-in-comsol-matlab-livelink.html
How can I use the Deep Neural Network function built by COMSOL?
12 次查看(过去 30 天)
显示 更早的评论
I have trained a deep neural network dnn1 using COMSOL and defined a function dnn1_1 with two input parameters a & b and one output parameter c. How can I quote the functions dnn1_1 in Matlab? Like this way c=dnn1_1(a,b). Thanks.
The function dnn1_1 defined in COMSOL:
model.func("dnn1").setEntry("funcs", "col6", "dnn1_1");
0 个评论
回答(1 个)
Subhajyoti
2024-8-23
Hi @hjxiang
It seems like you're trying to integrate COMSOL functions into MATLAB.
There have been many related discussions in the community, and numerous proposed workarounds. You may go through the following discussions where you can find valuable insights and potential solutions.
'COMSOL LiveLink' is a third-party product, and you can refer to COMSOL's documentation for more details.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!