Answered
The following appears in the command window. What does it mean?java.lang.NullPointerException
This is an error that originates from Java code, typically concerning some GUI component that misbehavs or which does not handle...

2 years ago | 0

Answered
Matlab uitable column font size using html not working
HTML is only supported out-of-the-box in the legacy (Java-based) figures, not the new web-based (AppDesigner) uifigures. You ma...

2 years ago | 0

| accepted

Answered
Why does "Auto Width" feature not adapt to table axes size in GUIDE?
The "AutoWidth" setting of the uitable only sets the individual column's width based on its contents. It does not control the en...

2 years ago | 2

Answered
How to add a sortable property to uitable within a classic figure.
My Java-based uitable utility on the Matlab File Exchange provides a sortable wrapper for the legacy uitable. The sorting functi...

2 years ago | 3

| accepted

Answered
How to open SLDD parameter editor dialog programatically?
try using the openvar function

2 years ago | 0

Answered
Why does fplot think my function is not vectorized
As far as I can tell (never mind exactly how), internally a check is made whether the output of fun(1:3) is exactly equaln to th...

2 years ago | 1

Answered
uigetfile with default filter
Adam Danz had the right idea, but missed a few key things. The FilterIndex field should indeed have influenced the filter select...

2 years ago | 3

| accepted

Answered
Unable to connect to Interactive Brokers after installed 2018a in new Laptop
Sometime in recent years, presumably around TWS API 9.70, IB changed their COM server's ProgID from 'TWS.TwsCtrl.1' to 'TWS.TwsC...

2 years ago | 0

Answered
How can I speed up my program ?
The first step you should do is to run your code in the Matlab Profiler. This will give you insight as to the specific bottlenec...

3 years ago | 0

Answered
Slider Code problem with axes
In your example, both val and x are not scalars. When you multiply vectors/matrices in Matlab using the * operator, Matlab uses ...

3 years ago | 0

Answered
I would like to add a 'display-all' hyperlink functionality to a class.
It is true that desktop hyperlinks only work at the base workspace level, but you can still access specific object instances if ...

3 years ago | 0

| accepted

Answered
Upside down display of graph
Try to do the following, step-by-step, until you find one of them solves the problem: set(gcf,'renderer','opengl'); opengl('so...

3 years ago | 0

Answered
How could i displace the values of X axis under X axis (Y negative) ?
A peculiarity of AxisLocation='origin' is that the X and Y tick labels automatically switch location (from below the X axis to a...

3 years ago | 1

Answered
Environment variables in javaclasspath.txt
I do not believe that you can use env vars in your javaclasspath.txt file, but as workaround, you can programmatically load the ...

3 years ago | 0

| accepted

Answered
Why Don't Set Breakpoints Work in R2018b?
This could happen if your script runs inside a parallel loop (spmd or parfor), or is shaddowed by a binary version (e.g., file.m...

3 years ago | 0

Answered
Using 2018b javaclasspath.txt doesn't seem to get loaded during batch startup.
I'm not sure why your javaclasspath.txt file doesn't load in batch mode. As workaround, you can programmatically load the necess...

3 years ago | 0

Answered
How do I programmatically set the size of the the web browser window that is created with the MATLAB web command " web " ?
Note: undocumented/unsupported: [h1,h2,h3] = web('http://news.google.com','-notoolbar','-new'); % open a web page drawnow; pau...

3 years ago | 1

| accepted

Answered
What happened to the figure toolbar? Why is it an axes toolbar? How can I put the buttons back?
For the benefit of readers who don't follow my blog, Michelle Hirsch posted the following comment yesterday, which sheds some li...

3 years ago | 2

Answered
Parfor loop introduces strange R%1 variable when using 2 reduction variables
I was able to reproduce your problem on my R2018a and R2018b Windows10 installation, but not in 19a. Apparently this bug (it is...

3 years ago | 1

Answered
Problem with history function. Trading toolbox
Here's how you can fetch IB's historical data using the IB-Matlab connector: >> data = IBMatlab('action','history', 'symbol','I...

3 years ago | 0

Answered
Error with " Request Interactive Brokers Historical Data" example
Here's how you can fetch IB's historical data using the IB-Matlab connector: >> data = IBMatlab('action','history', 'symbol','I...

3 years ago | 0

Answered
Trading Toolbox - Retrieve Option Chain from Interactive Brokers
Here's how you can fetch the full option chain using the IB-Matlab connector, for example all futures options for the 10-year US...

3 years ago | 0

Answered
Problems for Interactive Brokers connection
Trading Toolbox support for Interactive Brokers is limited to Windows only. This is clearly mentioned in the documented system r...

3 years ago | 1

Answered
java.io.File - strange behaviour
With most Java methods, you can follow the method invocation parentheses with a dot, thereby chaining methods. For example: myJP...

3 years ago | 1

| accepted

Answered
UIComponent JTextField Text alignment
Use JTextField.JavaPeer.CENTER or the value 0 instead of 'CENTER': JTextField.HorizontalAlignment = JTextField.JavaPeer.CENTER;...

3 years ago | 0

| accepted

Answered
R2017a - Unsupported major.minor version 52.0
52.0 indicates Java classes compiled with JDK 8 - These classes can only be run under Java 8 or newer. Until R2017a Matlab integ...

3 years ago | 1

Answered
Error when connecting to ib trader workstation
The Trading Toolbox's IB connector is based on ActiveX and is therefore only available on Windows, not Mac or Linux. So if you h...

3 years ago | 0

Answered
New line in legend does not work anymore in MATLAB 2017b
The reason for the problem is that the default legend Interpreter ('lex') does not know how to interpret the '\n' in the label. ...

3 years ago | 1

Answered
How to colorize the document tabs of the editor?
I looked into this problem but I could not find a way to do so. What you proposed is the way that it should have worked, but i...

3 years ago | 1

| accepted

Answered
Adabting Ui from 2013 to 2016
Unfortunately, The HeightLimits and WidthLimits properties were removed from uiflowcontainer at some point in time. This is quit...

3 years ago | 0

Load more