您的位置:首页 > 运维架构 > Linux

一 centos 6.0 系统安装以及初始配置

2013-01-11 21:26 561 查看

Summary

Redirecting a MATLAB file into matlab -nodisplay can cause "Type-ahead Buffer Overflow" errors

Description

One way to have MATLAB execute a MATLAB file on a UNIX system is to redirect that file into MATLAB with the command

matlab -nodisplay < myMfile.m

at the shell prompt.

Depending on the contents of
myMfile.m, it is possible that you will see "Type-ahead Buffer Overflow"
error messages in the standard output stream from MATLAB. For example, a
call to the Distributed Computing Toolbox function waitForState can
trigger this behavior.

Workaround

If you start MATLAB with the -r
flag, which also
executes the specified MATLAB file, rather than use input redirection,
you should not see this behavior. For example,

matlab -nodisplay -r myMfile

Fix

This bug was fixed as of R2009a(7.8).
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: