< >
Home » walking与Matlab入门教程 » walking与Matlab入门教程-安装python和cmake环境

walking与Matlab入门教程-安装python和cmake环境

walking与Matlab入门教程-安装python和cmake环境

说明:

  • 介绍如何安装python和cmake环境

步骤:

>> pyenv('Version','3.9')

ans = 

  PythonEnvironment - 属性:

          Version: "3.9"
       Executable: "D:\Python39\pythonw.exe"
         Library: "D:\Python39\python39.dll"
             Home: "D:\Python39"
           Status: NotLoaded
    ExecutionMode: InProcess
  • 编译模型时,需要cmake3.15.5版本,或者更高的版本,下载cmake

  • 安装cmake3.15.5版本

  • cmake安装路径:D:\cmake\cmake-3.20.2-windows-x86_64\bin,将该路径添加到环境变量中(系统属性->高级->环境变量->系统变量->Path)

  • 验证cmake安装成功,在windows下cmd运行cmake

C:\Users\XXX>cmake
Usage

  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>
  cmake [options] -S <path-to-source> -B <path-to-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: walking与matlab入门教程