28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2fileattrib<br />

Purpose Set or get attributes of file or directory<br />

Syntax fileattrib<br />

fileattrib('name')<br />

fileattrib('name','attrib')<br />

fileattrib('name','attrib','users')<br />

fileattrib('name','attrib','users','s')<br />

[status,message,messageid] =<br />

fileattrib('name','attrib','users','s')<br />

fileattrib<br />

Description The fileattrib function is like the DOS attrib command or the UNIX chmod<br />

command.<br />

fileattrib displays the attributes for the current directory. Values are<br />

Value Description<br />

0 Attribute is off<br />

1 Attribute is set (on)<br />

NaN Attribute does not apply<br />

fileattrib('name') displays the attributes for name, where name is the<br />

absolute or relative pathname for a directory or file. Use the wildcard * at the<br />

end of name to view attributes for all matching files.<br />

fileattrib('name','attrib') sets the attribute for name, where name is the<br />

absolute or relative pathname for a directory or file. Specify the + qualifier<br />

before the attribute to set it, and specify the - qualifier before the attribute to<br />

clear it. Use the wildcard * at the end of name to set attributes for all matching<br />

files. Values for attrib are<br />

Value for attrib Description<br />

a Archive (Windows only)<br />

h Hidden file (Windows only)<br />

2-807

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!