Matlab 集成 - 运行 和测试 Matlab VOLTTRON 集成 - pyzmq 错误+ volltron/config。小路

Matlab integration - Run and test Matlab VOLTTRON Integration - pyzmq error+ volltron/config. path

下面的步骤是将一个假建筑 - 假 modbus 设备(Ubuntu 16.04 LTS)与基于 matlab 的界面集成在一起。

遵循以下文档步骤:http://volttron.readthedocs.io/en/4.1/devguides/walkthroughs/DrivenMatlabAgent-Walkthrough.html

系统运行ning Matlab的安装步骤:

系统 运行ning Matlab 的步骤:

运行 pyversion --完成

   version: '2.7'
   executable: '/home/USER_NAME/volttron/env/bin/python'
   library: 'libpython2.7.so.1.0'
   home: '/home/USER_NAME/volttron/env'
   isloaded: 0

当我 运行 py.zmq.pyzmq_version() 我得到

ans = 

Python str with no properties.

15.4.0

我复制了example.m到桌面

运行 并测试 Matlab VOLTTRON 集成:

至 运行 并测试集成: 假设

设备驱动代理已开发(master_driveragent-3.1.1-已安装)

安装:

为了添加子树:我使用了代码: git subtree add --prefix applications https://github.com/VOLTTRON/volttron- applications.git develop --squash 错误 (工作树有修改。无法添加。

配置

将示例配置文件 applications/pnnl/DrivenMatlabAgent/config_waterheater 复制到 volltron/config.(我找不到名为 config 的路径?)

问题

谢谢,

看起来您在克隆的 volttron 目录中进行了本地更改。请在添加子树之前存储或提交这些更改。

如果配置文件夹不存在,您可以创建它(我也会在文档中注明)它只是复制配置文件以进行更改的位置(config_url 和 data_url )