Errors caused by UITABLE

1 view (last 30 days)
Gabe
Gabe on 9 Sep 2011
For some computers, we're getting errors whenever we try to use a UITABLE—either with a GUIDE-designed figure, or just typing 'uitable' in the Command Window. The three computers on which this has happened have the following version information:
MATLAB Version 7.11.0.584 (R2010b) / Mac OS X (10.6.8) / Java 1.6.0_17
MATLAB Version 7.12.0.635 (R2011a) / Mac OS X (10.6.8) / Java 1.6.0_26
MATLAB Version 7.11.0.584 (R2010b) / Mac OS X (10.6.8) / Java 1.6.0_26*
MATLAB Version 7.11.0.584 (R2011b) / Mac OS X (10.6.8) / Java 1.6.0_26*
*Same computer, but before and after the MATLAB upgrade.
But, there's no problem at all for most other computers, including the following system for all versions from R2009b–R2011b: Mac OS X (10.6.8) / Java 1.6.0_26
Here's the error after 'uitable' is typed into the Command Window:
--------------------------------------
com.mathworks.jmi.MatlabException: Undefined function or method 'dataviewerhelper' for input arguments of type 'char'. at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method) at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:210) at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:121) at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1503) at com.mathworks.hg.peer.ui.table.DefaultUIStyleTableModel$UITableValueTableModel$1.runOnMatlabThread(DefaultUIStyleTableModel.java:461) at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:74) at com.mathworks.jmi.MatlabWorker.start(MatlabWorker.java:231) at com.mathworks.hg.peer.ui.table.DefaultUIStyleTableModel$UITableValueTableModel.makeCallToMatlab(DefaultUIStyleTableModel.java:473) at com.mathworks.mlwidgets.array.ValueTableModel.requestValueFromMatlab(ValueTableModel.java:270) at com.mathworks.mlwidgets.array.ValueTableModel.updateTableData(ValueTableModel.java:253) at com.mathworks.mlwidgets.array.ValueTableModel.updateData(ValueTableModel.java:230) at com.mathworks.hg.peer.ui.table.DefaultUIStyleTableModel.updateData(DefaultUIStyleTableModel.java:368) at com.mathworks.hg.peer.ui.UITablePeer.doDataChanged(UITablePeer.java:603) at com.mathworks.hg.peer.ui.UITablePeer.doPreInitializePeerProperty(UITablePeer.java:928) at com.mathworks.hg.peer.ui.UITablePeer.initializePeerProperty(UITablePeer.java:319)
ans =
9.7656e-04
com.mathworks.jmi.MatlabException: Undefined function or method 'dataviewerhelper' for input arguments of type 'char'. at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method) at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:210) at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:121) at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1503) at com.mathworks.hg.peer.ui.table.DefaultUIStyleTableModel$UITableValueTableModel$1.runOnMatlabThread(DefaultUIStyleTableModel.java:461) at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:74) at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:339)
--------------------------------------
Any ideas on how to fix this? Or, if anyone has ideas about how to 'catch' this sort of error, that would be great. Try/catch doesn't do the trick.
Thanks!

Answers (1)

Ofra
Ofra on 26 Nov 2012
Hi,
Did you manage to solve this problem ? I have the same problem using Matlab 2012b on Windows7 but not when I use it on a Unix server.
Thanks,
Ofra

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!