help-octave
[Top][All Lists]
Advanced

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

Re: Fwd: mat.file


From: Nicholas Jankowski
Subject: Re: Fwd: mat.file
Date: Tue, 17 Nov 2015 09:05:59 -0500

On Tue, Nov 17, 2015 at 4:36 AM, marzieh <address@hidden> wrote:

 


------------------------------ پیام اصلی ------------------------------
از: ‪Nicholas Jankowski <address@hidden>‬
به: ‪marzieh <address@hidden>‬
رونوشت به: ‪Help GNU Octave <address@hidden>‬
ارسال شده: سه‌شنبه، 26 آبان 1394 07:44:15
موضوع: Re: Fwd: mat.file

 

 

On Nov 16, 2015 7:33 PM, "marzieh" <address@hidden> wrote:
>
>  
>
>
> ------------------------------ نامه ارسالی------------------------------
> از: ‪marzieh <address@hidden>‬
> به: ‪address@hidden
> ارسال شده: دوشنبه، 25 آبان 1394 10:14:02
> موضوع: mat.file
>
>  
>
>  
>
> hi
>
> i write mat.file in GNU octave but this error appears :
>
> warning: /tmp/03453f33ba3b472db66b8ebc1c51a5be/input.pipe: possible Matlab-style short-circuit operator at line 99, column 16 warning: /tmp/03453f33ba3b472db66b8ebc1c51a5be/input.pipe: possible Matlab-style short-circuit operator at line 107, column 16
>
> can you help me?
>

See this page of the help manual:

https://www.gnu.org/software/octave/doc/interpreter/Short_002dcircuit-Boolean-Operators.html

Specifically the note at the bottom about matlab. I assume you are using & or | instead of && or ||.

yeah, thats right

thanks for your guide

if i attach my file, can you run it for me?

please use "Reply All" to keep the mailing list in the conversation.

If you include your code in an email, we may be able to find your error.  The warning described above doesn't necessarily mean there's anything wrong with your code, but there could be, if you didn't want it to short-circuit in unexpected ways. We usually recommend using "&& and ||" instead of "& and |" to keep operator behavior consistent and predictable.

Nick J.

reply via email to

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