octave-maintainers
[Top][All Lists]
Advanced

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

Matlab help with sprintf()


From: Rik
Subject: Matlab help with sprintf()
Date: Tue, 13 Feb 2018 13:23:09 -0800

I've suddenly come upon a lot of instances where Octave is not handling
NULL characters ('\0') in strings correctly.

Could someone try the following in Matlab?

double (sprintf ('\0'))

Octave is returning an empty matrix, but I think it should be a scalar
value of 0.

Thanks,
Rik



reply via email to

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