Effacer les filtres
Effacer les filtres

How to solve the problem when workplace variable cannot show?

9 vues (au cours des 30 derniers jours)
zihe zhao
zihe zhao le 16 Fév 2021
Commenté : zihe zhao le 23 Fév 2021
My Matlab doesn't display variables anymore, it shows
"An unexpected error has occured:
Error using arrayviewfunc(line 81)
Unknown command option GETUNSUPPORTEDSTRING"
every time I double click on a variable name and want to see how it like. Does anyone know how to fix it?
PS.
I can display it by typing in the command window without ";", but I want to display it in table which is more easier.
I have tried uninstalling and reinstalling. I was on version 2020a when the problem first appeared, then I uninstalled and reinstalled all of Matlab and now on version 2020b. But still can't display the variables.
Any help would be appreciated. Thank you!

Réponse acceptée

Sunand Agarwal
Sunand Agarwal le 23 Fév 2021
Hello,
The issue seems to be due to the shadowing of the 'arrayviewfunc' function in MATLAB.
Please check the output of the following command on the MATLAB command line:
>> which arrayviewfunc -all
If there is a shadowed file, please rename or remove the shadowing file from the MATLAB path.
Alternatively, you may refer to the following link for restoring the default path:
Hope this helps.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by