saveSBML exports the given model as a SBML .xml file

saveSBML(
  filename,
  level,
  version,
  overwrite = FALSE,
  model = getCurrentModel()
)

Arguments

filename

a path to save to

level

numeric sbml level

version

numeric sbml version

overwrite

is overwriting existing files allowed?

model

a model object