def load_ipython_extension(ip, **kwargs):
    global _loaded
    if not _loaded:
        ip.register_magics(MatlabMagics(ip, **kwargs))
        _loaded = True
Load the extension in IPython.
dataset/ETHPy150Open arokem/python-matlab-bridge/pymatbridge/matlab_magic.py/load_ipython_extension