Error when trying to view a variable

조회 수: 5 (최근 30일)
David Prete
David Prete 2020년 11월 10일
댓글: David Prete 2020년 11월 11일
Ever since I downloaded the newest version of MATLAB whenever I open a variable to view it I get and error. I've attached an image of the error message. It says Conversion to logical from cell is not possible. flip 37. This message appears no matter what kind of varibale try to open ( array, struct, cell, logical, etc) it always pops up. Also seems to pop up if I run code but my variable window is open, even thoguh the code I'm running has nothing to do with the varibles I am currently viewing. Does anyone else have this issue? Are there any solutios to this issue. Below is my version information and operating system
MATLAB Version: 9.8.0.1451342 (R2020a) Update 5
MATLAB License Number: 40924515
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 18363)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed model
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2020년 11월 10일
have you already asked the Mathworks support ?

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

채택된 답변

Cam Salzberger
Cam Salzberger 2020년 11월 10일
Hey David,
I have a suspicion that there is either a variable in your workspace, or a function/script in your current folder/path that is messing it up somehow. Try all of these things at once to eliminate the possibilities:
clear all
cd(matlabroot)
restoredefaultpath
rehash toolboxcache
x = 1;
Now see if you can view "x" in your variable viewer. If it works, you can restart MATLAB to get your path back the way it was (since you didn't do "savepath"), and then experiment to determine which variable/file was the cause.
-Cam
  댓글 수: 1
David Prete
David Prete 2020년 11월 11일
Thank you! You were right it was function/script in my path that cuased teh error.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by