/usr/share/freemat/toolbox/string/blanks.m is in freemat-data 4.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | % BLANKS BLANKS Create a blank string
%
% Usage
%
%
% str = blanks(n)
%
% Create a string str containing n blank charaters.
function str = blanks(n)
if ~isscalar(n)
n = n(1);
warning('Input should be a scalar number')
elseif n < 0
n = 0;
warning('Input should be a positive number')
end
str = repmat(' ',[1,n]);
|