Copy the minimum xml file (CosimR.xml) to the target directory, for instance, 'C:/bcvtb/examples/your dir/Cosim.xml' in the Windows OS.
copy_xml(xmlpath, overwrite = TRUE)
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. |
A xml file. Note: xml_copy function returns no value.