gpt4 book ai didi

command-line-interface - 关闭GNU Octave终端输出

转载 作者:行者123 更新时间:2023-12-04 13:33:10 24 4
gpt4 key购买 nike

我习惯了cli,并发现Octave对于求解线性代数方程式和图像处理方面非常有用。

但是,有一件事让我感到烦恼-它输出的每个变量的值,当您使用大型矩阵时,该值过大。

有什么办法可以关闭它并手动输出变量的值?

最佳答案

我可能会误解您的问题,但是看来您需要做的就是to put a semi-colon ( ; ) at the end of the line,您希望它以静默方式运行。

因此,而不是:

c = a + b

尝试:
c = a + b;

您也可以 call Octave with either the -q , --quiet , or --silent command-line argument避免打印问候语和版本信息。

关于command-line-interface - 关闭GNU Octave终端输出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14838212/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com