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?

조회 수: 8 (최근 30일)
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
catherine sandoval
catherine sandoval 2019년 9월 25일
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

댓글을 달려면 로그인하십시오.

답변 (3개)

Henry Ip
Henry Ip 2019년 12월 12일
편집: Henry Ip 2019년 12월 12일
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
Steven Lord
Steven Lord 2019년 12월 12일
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
Kyle Owen 2019년 10월 11일
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
Al in St. Louis
Al in St. Louis 2019년 10월 14일
It's a shame tab-completion doesn't work for openvar. Still it is better than no workaround.
Nicholas Ayres
Nicholas Ayres 2020년 7월 27일
I have mode my own function signatures for waaaay too many of MatLab's built in functions. -_-

댓글을 달려면 로그인하십시오.


Steven Lord
Steven Lord 2019년 9월 23일
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.

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by