Convert MATLAB .m Files to a .jar File for Use in a Java Project in MATLAB R2024a
10 ビュー (過去 30 日間)
古いコメントを表示
I'm working with MATLAB R2024a and I have several .m files, each defining a different function. I need to convert all these .m files into a single .jar file so that I can use these functions in a Java project.
How can I achieve this?
Here's an example of what one of my .m files looks like:
function [output] = myFunction(input)
...
end
0 件のコメント
回答 (1 件)
Ayush Singh
2024 年 6 月 17 日
編集済み: Ayush Singh
2024 年 6 月 17 日
Hi Carlo,
I think you want to incorporate the functions written in '.m' file in a Java Project
Please refer to the first section on the following documentation which uses MATLAB Compiler SDK to convert MATLAB functions to '.jar' files:
Hope it helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Java Package Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!