在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Calysto/matlab_kernel开源软件地址(OpenSource Url):https://github.com/Calysto/matlab_kernel开源编程语言(OpenSource Language):Jupyter Notebook 72.9%开源软件介绍(OpenSource Introduction):A Matlab kernel for JupyterPrerequisitesInstall Jupyter Notebook and the Matlab engine for Python. InstallationInstall using: $ pip install matlab_kernel or To use the kernel, run one of: $ jupyter notebook # In the notebook interface, select Matlab from the 'New' menu $ jupyter qtconsole --kernel matlab $ jupyter console --kernel matlab To remove from kernel listings: $ jupyter kernelspec remove matlab ConfigurationThe kernel can be configured by adding an cat ~/.jupyter/matlab_kernel_config.py
c.MatlabKernel.plot_settings = dict(format='svg') TroubleshootingKernel Times Out While StartingIf the kernel is not starting, try running the following from a terminal. python -m matlab_kernel.check Please include that output if opening an issue. Kernel is Not ListedIf the kernel is not listed as an available kernel, first try the following command: python -m matlab_kernel install --user If the kernel is still not listed, verify that the following point to the same version of python: which python # use "where" if using cmd.exe
which jupyter Additional informationThe Matlab kernel is based on MetaKernel,
which means it features a standard set of magics. For a full list of magics,
run A sample notebook is available online. A note about plotting. After each call to Matlab, we ask Matlab to save any
open figures to image files whose format and resolution are defined using the
Advanced Installation NotesWe automatically install a Jupyter kernelspec when installing the python package. This location can be found using It has been reported that Matlab version 2016b works fine. However, Matlab 2014b does not work with Python 3.5. DevelopmentInstall the package locally: $ pip install -e . $ python -m matlab_kernel install As you make changes, test them in a notebook (restart the kernel between changes). |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论