美文网首页
Jupyter-notebook matlab插件

Jupyter-notebook matlab插件

作者: 九天学者 | 来源:发表于2019-05-31 11:28 被阅读0次

    %lsmagic : list which magic command is available, if there is not the kernel what you want, you can install form the kernels page.

    install matlab kernel

    • Matlab engine for python
      you need first install Matlab engine for python, this installation file in the directory of /Applications/MATLAB_R2017b.app/extern/engines/python. cd to this dir. and install it using command of python setup.py install

    • pymatbridge
      pip install pymatbridge

    use matlab kernel in python cell

    %load_ext pymatbridge

    import pymatbridge as pymat
    ip = get_ipython()
    pymat.load_ipython_extension(ip)
    

    相关文章

      网友评论

          本文标题:Jupyter-notebook matlab插件

          本文链接:https://www.haomeiwen.com/subject/xekbnftx.html