https://www.mathworks.com/help/simbio/ref/simbiology.model.removevariant.html
removevariant - Remove variant from model - MATLAB
This MATLAB function removes a SimBiology variant object with the name NameValue from the model object modelObj and returns the variant object to variantObj.
removevariantmodelmatlab