Create java library with matlab function
古いコメントを表示
Hello, I need to create a java library from some matlab function that I've downloaded. The problem is that when I use library deploy of matlab , i'm not able to compile , I get many errors. Could someone help me or alternatively compile these matlab function for me.
Thanks in advance.
回答 (1 件)
Walter Roberson
2016 年 9 月 26 日
0 投票
We cannot compile for you; that would be against the terms of the MATLAB license for the compilers.
You should post some of the messages.
There are a wide variety of things that cannot be compiled.
2 件のコメント
Pasquale Calorigero
2016 年 9 月 26 日
Walter Roberson
2016 年 9 月 26 日
resample is supported by both MATLAB Compiler SDK (for building Java) and MATLAB Coder (for creating C/C++ code). You do, however, need to have the Signal Processing Toolbox to generate the code for resample.
"resample performs an FIR design using firls, normalizes the result to account for the processing gain of the window, and then implements a rate change using upfirdn."
That method is a generalized method; for specific rate changes there might be more efficient (or at least simpler) methods. Resampling can also generally be implemented by fft and ifft.
カテゴリ
ヘルプ センター および File Exchange で Signal Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!