如何在 vscode 中使用八度? [英] How to use octave in vscode?

查看:81
本文介绍了如何在 vscode 中使用八度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Visual Studio Code 中创建和调试八度音程程序?请提供有关路径设置等的详细信息.

How can I create and debug octave programs in Visual Studio Code? Please provide details regarding Path settings etc.

我正在学习 Andrew Ng 的机器学习课程,他建议将八度音程作为初学者的语言,八度音程以后是否会用于纯学术学习以外的目的?我可以使用八度创建机器学习算法吗?

I'm taking Andrew Ng's course on Machine learning in which he suggests octave as the language for beginners, will octave be useful later on for purposes other than purely academic learning? Can I create machine learning algorithms using octave?

推荐答案

Cmd+Shift+P(或 Ctrl+Shift+P)并搜索首选项:打开设置 (JSON)"".然后将以下条目添加到设置文件中:

Press Cmd+Shift+P (or Ctrl+Shift+P) and search for "Preferences: Open Settings (JSON)". Then add the following entry to the settings file:

"terminal.integrated.env.windows": {
    "PATH": "C:\\Octave\\Octave-5.2.0\\mingw64\\bin"
  }

然后你就可以输入octave";在终端访问八度shell

Then you'll be able to type "octave" in the terminal to access the octave shell

注意:C:\Octave\Octave-5.2.0\mingw64\bin"是我安装octave的路径

Note: "C:\Octave\Octave-5.2.0\mingw64\bin" is the path where octave is installed for me

这篇关于如何在 vscode 中使用八度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆