Error when using uitable

2 次查看(过去 30 天)
Nicole
Nicole 2015-4-29
Even when using the example given in the documentation
f = figure;
d = gallery('integerdata',100,[10 3],0);
t = uitable(f,'Data',d,'ColumnWidth',{50});
I get the following error
com.mathworks.jmi.MatlabException: Unknown command option UPDATEVALUETABLEMODEL
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1710)
at com.mathworks.mlwidgets.array.ValueTableModel$4.runOnMatlabThread(ValueTableModel.java:624)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
at com.mathworks.jmi.MatlabWorker.start(MatlabWorker.java:248)
at com.mathworks.mlwidgets.array.ValueTableModel.makeCallToMatlab(ValueTableModel.java:621)
at com.mathworks.mlwidgets.array.ValueTableModel.requestValueFromMatlab(ValueTableModel.java:454)
at com.mathworks.mlwidgets.array.ValueTableModel.updateTableData(ValueTableModel.java:432)
at com.mathworks.mlwidgets.array.ValueTableModel.updateData(ValueTableModel.java:410)
at com.mathworks.hg.peer.ui.table.DefaultUIStyleTableModel.updateData(DefaultUIStyleTableModel.java:372)
at com.mathworks.hg.peer.ui.UITablePeer.doDataChanged(UITablePeer.java:655)
at com.mathworks.hg.peer.ui.UITablePeer.doPreInitializePeerProperty(UITablePeer.java:990)
at com.mathworks.hg.peer.ui.UITablePeer.initializePeerProperty(UITablePeer.java:371)
com.mathworks.jmi.MatlabException: Unknown command option UPDATEVALUETABLEMODEL
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1710)
at com.mathworks.mlwidgets.array.ValueTableModel$4.runOnMatlabThread(ValueTableModel.java:624)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
What can I do to avoid this? I have recently upgraded to matlab 2015a.
  5 个评论
Walter Roberson
Walter Roberson 2017-7-11
My mention of Java3D was due to one of the very few postings I found mentioning the same error message, http://imagej.1557.x6.nabble.com/Problem-when-Using-Fiji-for-3D-Visualization-from-Matlab-td5001134.html in which someone reports this error message in conjunction with using Java3D, so I was looking for a common element.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by