找到你要的答案

Q:Guideline for Real time acquisition of log file with telnet MATLAB

Q:用telnet MATLAB日志文件实时采集指南

I have a system that I would like to process some data with MATLAB and sending back some commands based on the results from MATLAB process (very short process).

  1. I thought of creating a log file and sending it to the MATLAB pc with tftp, which MATLAB should listen to "changes" in the folder and process the log file then feedback through telnet command.

  2. Directly ask MATLAB to grab/capture the log from the connected system do the process and feedback the command based on the results.

also if it possible , I want to be able to switch between two process methods in real time. Meaning can I get MATLAB to listen to a command from the MATLAB PC, and switch between the two methods ?

the mentioned system works under Linux environment.

any guidelines or references would be great.

我有一个系统的过程,我想用MATLAB和发送基于MATLAB的过程结果的一些命令的一些数据(很短的过程)。

  1. 我想创建一个日志文件并将其发送到TFTP的MATLAB,MATLAB应该听“变化”的文件夹和过程日志文件然后通过telnet命令反馈。

  2. 直接问MATLAB抢/捕获从连接的系统日志做的过程和反馈结果的基础上的命令。

此外,如果可能的话,我希望能够实时切换两个进程之间的方法。意思我能听从MATLAB MATLAB计算机命令和开关的两种方法之间的关系?

上述系统在Linux环境下工作。

任何指导或参考将是伟大的。

linux  matlab  real-time  telnet