Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

unzipTemplate

Unzip zipped DOM template

Syntax

unzipTemplate(zippedTemplatePath)
unzipTemplate(zippedTemplatePath,unzippedTemplatePath)

Description

example

unzipTemplate(zippedTemplatePath) unzips the DOM template zip file specified by zippedTemplatePath into a subfolder of the folder that contains the zipped template.

example

unzipTemplate(zippedTemplatePath,unzippedTemplatePath) unzips the DOM template into the folder specified by unzippedTemplatePath.

Examples

collapse all

Unzip a zipped DOM template called myTemplate.

unzipTemplate('myTemplate');

This example assumes that there is a zipped DOM template called myTemplate in the current folder and a folder called H:\report_templates.

unzipTemplate('myTemplate.htmtx','H:\report_templates\myTemplate');

Input Arguments

collapse all

If you do not include a file extension in the path, the function assumes the extension is .htmtx.

If you do not use the unzippedTemplatePath argument, the unzipTemplate function unzips the template into a subfolder of the folder that contains the zipped template. The name of the unzipped template folder is the same as the root name of the zipped template. The root name is the zipped template name without its file extension.

The template is unzipped into the folder that you specify in unzippedTemplate path.

Introduced in R2014b

Was this topic helpful?