![matlab property inspector.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239654/matlab%20property%20inspector.png)
Why does MATLAB now open the property inspector for objects instead of run the openvar() function when the object is clicked on in the work space window?
21 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Like the title says, in 2019a the default behavior is to use the openvar function which allows you to traverse through the properties as if the object were a structure, a very helpful behavior. In 2019b double clicking brings up the property inspector which isn't itself a deal breaker, but now instead of bringing along a dynamic link to properties of this object that also happen to be custom defined objects it shows them in an editable text field. There is no longer a dynmic link effectivly killing the data 'trail' and making debugging in 2019b all but impossible for my workflow.
Was this change intenetional or is it some bug introduced when they tryed to roll out the new property validation feature they implimented? I altready tried to strictly type my objects with this feature, something that in a loosly typed language would be a very bad expectation if it was necessary to get the property inspctor to work properly, but this did not do the trick.
If anyone knows if a fix is coming or if there is some workaround in the prefernces menu that can be used please let me know!
1 Commento
catherine sandoval
il 25 Set 2019
I have the same problem I think that it is a bug. It does not have sense to got to the property inspector. I can not work with datastores, only the link to Files works, it is no possible to review other properties.![matlab property inspector.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239654/matlab%20property%20inspector.png)
![matlab property inspector.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239654/matlab%20property%20inspector.png)
Risposte (3)
Henry Ip
il 12 Dic 2019
Modificato: Henry Ip
il 12 Dic 2019
I know that at least 2019b Update 3 fixes this problem. In the Windows version, click on the Help downward triangle dropdown menu in the RESOURCES section of the MATLAB Toolstrip and find Check for Updates. You should be able to see an update to install. Good luck!
1 Commento
Steven Lord
il 12 Dic 2019
I suspect this issue was captured as Bug Report 2043582. If it is, it is listed as fixed in release R2019b Update 2. Since updates for a given release are cumulative, installing Update 3 would also work.
Kyle Owen
il 11 Ott 2019
I had the same issue and when I contacted MathWorks they said it's a known issue in 2019b that is being investigated, here's their response:
The current workaround is to use "openvar" as described below. More information on this function can be found in the documentation at at
In order to test this workaround, please execute the following in the MATLAB Command Window:
>> f = figure; % create a figure
>> openvar f % or "openvar('f')
Note that if you simply click on "f" in the variable editor, only the property inspector is opened. However, using "openvar" directly opens the variable and you can click to access sub-elements in the variable tree.
2 Commenti
Al in St. Louis
il 14 Ott 2019
It's a shame tab-completion doesn't work for openvar. Still it is better than no workaround.
Nicholas Ayres
il 27 Lug 2020
I have mode my own function signatures for waaaay too many of MatLab's built in functions. -_-
Steven Lord
il 23 Set 2019
I recommend that you contact Technical Support using the telephone icon in the upper-right corner of this page and show them a small sample of your workflow that has changed. They should be able to determine if this change in behavior is a bug or is intentional, and can capture information about your use of the Workspace window and Property Inspector for the bug and/or enhancement databases as appropriate.
1 Commento
Vedere anche
Categorie
Scopri di più su Search Path in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!