Attempt to execute SCRIPT builtin as a function:

6 次查看(过去 30 天)
I recently updated to Matlab R2018a but decided to uninstall Matlab 2017a from my computer to free up space. When I was trying to run an svd I got the error:
_ *'snv' is not found in the current folder or on the MATLAB path, but exists in:
C:\Program Files\MATLAB\R2017b\toolbox\PLS_Toolbox_852
Change the MATLAB current folder or add its folder to the MATLAB path.
Output argument "value" (and maybe others) not assigned during call to "getappdata".
Error in addpath
So I added the folder as suggested. After that I got this error:
>> X=snv(mir_qual_svg)
Attempt to execute SCRIPT isa as a function:
C:\Program Files\MATLAB\R2017b\toolbox\matlab\datatypes\isa.m
Error in snv (line 45)
if isa(x,'char');
Attempt to execute SCRIPT warning as a function:
C:\Program Files\MATLAB\R2017b\toolbox\matlab\lang\warning.m
Error in help
Error in matlab.internal.language.introspective.errorDocCallback*_
And now I cannot do anything. I could seriously use some help.

回答(2 个)

per isakson
per isakson 2018-5-26
编辑:per isakson 2018-5-26
PLS_Toolbox_852 is the name of a toolbox by Eigenvector Research, Inc. Kind of strange that this toolbox was installed under the Matlab root.
snv is not a documented function of R2018a. What does
which snv -all
return?
Are folders under the Matlab 2017b root still in your search path?
  2 个评论
Stephen23
Stephen23 2018-5-28
joannag9999's "Answer" moved here:
Hi,
which snv -all returned: 'snv' not found.
Yes, after sending this I understood that the function I was looking for corresponds to the PLS toolbox. I have gotten Matlab to work correctly again but cannot connect it to PLS toolbox anymore, and therefore use any of its functions like I was previously able to. When I tried to reinstall it using the command "evriinstall" MATLAB returned an error that said this version was too new. I haven't persisted after that.

请先登录,再进行评论。


joannag9999
joannag9999 2018-5-28
Thanks Per. I did and they helped me solve the pronlem.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by