Error when using uitable

조회 수: 4 (최근 30일)
Nicole
Nicole 2015년 4월 29일
댓글: Walter Roberson 2017년 7월 11일
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