java - 在哪里可以找到 com.mathworks.jmi 包

标签 java matlab

我使用的是jdk 1.7.0_15。我需要使用 com.mathworks.jmi 包。但导入此包会出现“...包不存在”之类的错误。在网上搜索,没有找到名为jmi的jar文件。我很困惑:(

最佳答案

来自matlabcontrol wiki page :

The interface comes in the form of a jar file called jmi.jar distributed with MATLAB. It is found at matlabroot/java/jar/jmi.jar where matlabroot is the location of your MATLAB installation (on Windows it is located at matlabroot\java\jar\jmi.jar). For instance, on OS X with MATLAB R2009b it is located at /Applications/MATLAB_R2009b.app/java/jar/jmi.jar. What this jar contains depends exactly on what version of MATLAB is installed. All of the code in it has the root package com.mathworks.jmi, and there are a number of subpackages. Subsequent releases of MATLAB have seen additions to jmi.jar

关于java - 在哪里可以找到 com.mathworks.jmi 包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15050440/

相关文章:

MATLAB/Simulink - 以编程方式提供多个外部输入

matlab - 在 MATLAB 中如何从 N 个点中随机选择 k 个点?

java - 在主要 Activity 中使用 SQLiteOpenHelper 类访问数据库

matlab - 从相机校准解释重投影误差

arrays - Matlab代码性能提升

c - 以与 C 语言中的 MATLAB 类似的方式从 .csv 文件加载的最佳方法

java - 可以在 hibernate 状态 "and"中使用 "case when...then...else...end"吗?

java - 如何使用 Undertow 启用跨域源

java - Hibernate使用PostgreSQL序列不影响序列表

c# - 在哪里创建抽象工厂