2017b opening variable error

1 回表示 (過去 30 日間)
Hui WANG
Hui WANG 2017 年 12 月 21 日
編集済み: Image Analyst 2017 年 12 月 22 日
Hi,
I previously used 2016b and have a lot of data. Recently, I installed 2017b. However, when I open the data via 2017b, an error pops up, saying that readonly,
Error: Unexpected matlab expression. workspacefunc.
What's wrong with it?
I'll appreciate it very much if any one can solve this problem.
Thanks,
Caroline

回答 (2 件)

Hui WANG
Hui WANG 2017 年 12 月 22 日
編集済み: Image Analyst 2017 年 12 月 22 日
Hi,
I solved it. The Mathworks technician helped with this issue. It was because of an incompatibility of my setpath with the MATLAB built-in path.
We ran the following command to fix the problem:
>> restoredefaultpath
>> rehash toolboxcache

Image Analyst
Image Analyst 2017 年 12 月 21 日
編集済み: Image Analyst 2017 年 12 月 21 日
Is it an installation issue? If so, your fastest solution is to follow what the FAQ says:
And it's free!
Or, if it's a bug with your script, then attach your data and your script with the paper clip icon.
  3 件のコメント
Image Analyst
Image Analyst 2017 年 12 月 22 日
Do you get an error message upon opening MATLAB even before you run your m-file? If so, call the Mathworks. If the error only shows up when you run your m-file, then attach the m-file and your data so we can run it.
Hui WANG
Hui WANG 2017 年 12 月 22 日
It's poped up when I open a variable in the workspace. There is no error when I run the script.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by