Help Center
Determine if file is locked
tf = mlreportgen.utils.isFileLocked(filename)
tf = mlreportgen.utils.isFileLocked(filename) tests whether the specified file is locked.
tf
filename
example
collapse all
Verify that the output.pdf file is locked.
output.pdf
mlreportgen.utils.isFileLocked('output.pdf')
ans = logical 0
Name or full path of the file to test, specified as a character vector or string scalar.
true
false
Status of the file, returned as true or false. If the file is locked by another process, true is returned. It the file is not locked, false is returned.
Introduced in R2018b
mlreportgen.utils.findFile
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other bat365 country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office