Error when trying to set UITable columnwidth to 'fit' in App Designer

When attempting to set the column width to "fit" in a UITable in App Designer (MATLAB R2019a), I get the error below:
Could this be due to the version? Is there a way to see which version the doc pages apply to?

Réponses (1)

Mario Malic
Mario Malic le 4 Mar 2021
Hi,
Looks like this is 2020b feature.
If you want to see to which release the documentation belongs, see the top right corner where is release version shown.

4 commentaires

Thanks Mario. Is that definitely true? At the bottom of the same page it says : Introduced in R2016b
Also, from a very quick search, I can't find a page that doesn't have R2020b in the top right corner. But I often find the MATLAB docs difficult to navigate so please do correct me if I am wrong!
That means, that the uitable component is introduced in 2016b, over the time the improvements are inrocduced such as this one, 'fit'. I have checked the 2020a and saw that the 'fit' is missing from the Name-Value pair.
The proper way of finding the changes are:
Documentation home page, there are two links Release Notes | Other Releases, if you click on notes, select MATLAB from dropdown where it asks about product, and on left side, you can type in uitable as a filter and you'll see the changes.
Thats very helpful, thank you. It would be great if Mathworks made it easier to find the docs for different releases by eg just clicking on the release number to change to a different version. I will update to 2020b and see if the problem is fixed, thanks for your help Mario.
You're welcome.
Definitely, that would be useful.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by