Error when using uitable
2 次查看(过去 30 天)
显示 更早的评论
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
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.
Walter Roberson
2017-7-11
Are you possibly trying to use http://www.mathworks.com/matlabcentral/fileexchange/32344-hardware-accelerated-3d-viewer-for-matlab ?
回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!