Error when using uitable

2 views (last 30 days)
Nicole
Nicole on 29 Apr 2015
Commented: Walter Roberson on 11 Jul 2017
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 Comments
Walter Roberson
Walter Roberson on 11 Jul 2017
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.

Sign in to comment.

Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!