copy_xml: copy the xml file to the target directory

Description Usage Arguments Value

View source: R/copy_xml.R

Description

Copy the minimum xml file (CosimR.xml) to the target directory, for instance, 'C:/bcvtb/examples/your dir/Cosim.xml' in the Windows OS.

Usage

1
copy_xml(xmlpath, overwrite = TRUE)

Arguments

xmlpath

The dir you want palce your xml file. Meanwhile, it is also the directory of your co-simulation project.For me, set the path under the examples folder of the BCVTB installation path is a good choice, namely 'D:/bcvtb/examples/ mydir'.

overwrite

default = TRUE. If there already exists CosimR.xml in your xmlpath, it will be overwritten.

Value

A xml file. Note: xml_copy function returns no value.


jywang2016/CosimR documentation built on May 13, 2019, 9:52 p.m.