help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: we need a test run on Matlab


From: Vic Norton
Subject: Re: we need a test run on Matlab
Date: Tue, 19 Dec 2017 15:05:41 -0500

> On Dec 19, 2017, at 1:44 PM, Doug Stewart <address@hidden> wrote:
> 
> Would someone try this file in matlab 
> and report back the results, please.
> 
> 
> 
> -- 
> DAS
> 
> <testerase.m>_______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave

>> testerase
Error: File: testerase.m Line: 19 Column: 20
Unbalanced or unexpected parenthesis or bracket.

Line 19: assert (erase ({''};{''}),{''})

This is the error I get on the first run. When I
comment out line 19, I get

>> testerase
Error using assert
The condition input argument must be a scalar logical.

Error in testerase (line 3)
assert (erase ('ababa', 'aba'), 'ba’);

When I comment out line 3, I get

>> testerase
Error using assert
The condition input argument must be a scalar logical.

Error in testerase (line 4)
assert (erase ('abababa', 'aba'), 'b');

And so it goes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]