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.
Walter Roberson
Walter Roberson 2017 年 7 月 11 日

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop 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