libSBML Perl API  libSBML 5.17.2 Perl API
convertFbcToCobra.cpp

Example of converting an SBML Level 3 model using the Flux Balance Constraints package to a COBRA-style SBML Level 2 model.