My matlab doesn't work. what is the problem???

1 次查看(过去 30 天)
Please any help. when i want to use any think there is a problem; error error error .
for example:
  1. First error
Error: File: strncmpi.m Line: 1 Column: 1
The input character is not valid in MATLAB statements or expressions.
Error in subplot (line 273)
par = 2*find(strncmpi('Parent', pvpairs(1 : 2 : end), 6));
Error in ROOO (line 6)
subplot (321);
2. Second error
Error in isequal3 (line 141)
f_x = find (x);
Error in isequal (line 30)
retval = isequal3 (0, x, varargin{:});
Error in matlab.uitools.internal.uimodemanager/unregisterMode (line 11)
if isequal(allRegisteredModes(i),hMode)
Error in matlab.uitools.internal.uimode>localReparentMode (line 224)
unregisterMode(hManager,hThis);
Error in matlab.uitools.internal.uimode/set.ParentMode (line 178)
obj.ParentMode = localReparentMode(obj,value);
Error in matlab.uitools.internal.uimode/registerMode (line 9)
hMode.ParentMode = hThis;
Error in uimode (line 117)
hObj.registerMode(hMode);
Error in plotSelectMode
Error in getProxyValueFromHandle (line 25)
hMode = plotSelectMode(hFig);
and there is many. when i want to use any tool

回答(1 个)

Stephen23
Stephen23 2020-2-2
This is rather obfuscated code:
par = 2*find(strncmpi('Parent', pvpairs(1 : 2 : end), 6));
What is its purpose? Why compare every 2nd character: is this an attempt to match some multiple-byte character encoding that has been incorrectly imported?

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by