フィルターのクリア

Compiled program's call to audioinfo fails when trying to import internal java class

1 回表示 (過去 30 日間)
L. Scott Johnson
L. Scott Johnson 2013 年 9 月 10 日
回答済み: Aditya Vutukuri 2013 年 12 月 23 日
I have a call to audioinfo that works fine from the MATLAB command line. But when I compile, the same call yields:
MATLAB_Compiler_Runtime/v80/toolbox/matlab/audiovideo/audioinfo.m line: 47 Column: 8 Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name: "multimedia.internal.audio.file.PluginManager" fails this test
Other queries regarding this kind of error only seem to occur when using a user-provided class (and the solution is to provide the corresponding jar file in classpath.txt)
Any idea how to make this work for an internal MATLAB "import"?
(I'm using 2012b on Mac)

回答 (1 件)

Aditya Vutukuri
Aditya Vutukuri 2013 年 12 月 23 日
This is due to java issue. Some jar files are not included in the classpath
Try >>rehash toolboxcache >>restoredefaultpath >>savepath

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by