def label(model, label):
    """
    Deprecated alias of :meth:`Model.labelx()`.
    """
    import warnings
    warnings.warn(
        'The method `myokit.lib.multi.label()` is deprecated and will be removed in future versions of Myokit. Please use `Model.labelx()` instead.'
        )
    return model.labelx(label)
