Matlab打開屬性檢查器出錯問題


問題

打開屬性檢查器出現了如下錯誤!

錯誤使用 event.listener
參數 'source' 必須為句柄元胞數組。

出錯 matlab.graphics.internal.propertyinspector.PropertyInspectorManager/inspectObj (第 585 行)
                        this.PropertyChangedListener = event.listener(inspectorDocument.ViewModel,
                        'DataChange', ...

出錯 matlab.graphics.internal.propertyinspector.PropertyInspectorManager/showInspector (第 354 行)
                this.inspectObj(objToInspect);

出錯 matlab.graphics.internal.propertyinspector.propertyinspector (第 111 行)
        hInspectorMgnr.showInspector(hObjs);

出錯 matlab.graphics.internal.propertyinspector.propertyinspector (第 18 行)
            matlab.graphics.internal.propertyinspector.propertyinspector('show');

出錯 viewmenufcn (第 52 行)
        matlab.graphics.internal.propertyinspector.propertyinspector('toggle');
 
計算 Menu Callback 時出錯。

解決方法

在命令行窗口輸入以下三個命令:

    restoredefaultpath 
    rehash toolboxcache 
    savepath

問題得以解決! 此時可以正常打開屬性檢查器!
在這里插入圖片描述


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM