Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
除了在控制台中显示或将输出写入文本文件之外,还有什么方法可以传递可执行文件的输出?可执行文件是一个 MATLAB 文件。
在 linux/unix 中,将您的输出重定向到 /dev/null,它将丢弃它。在 Windows 中,重定向到 NUL。