Clear Filters
Clear Filters

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

4 views (last 30 days)
Good mind
Good mind on 2 Feb 2020
Answered: Stephen23 on 2 Feb 2020
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

Answers (1)

Stephen23
Stephen23 on 2 Feb 2020
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?

Tags

Products

Community Treasure Hunt

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

Start Hunting!