From e46977260b3a9214ff57335aec496fc58b96aed2 Mon Sep 17 00:00:00 2001 From: Flex Zhong Date: Tue, 20 Oct 2020 01:17:12 +0800 Subject: [PATCH] matlab, powershell: add Chinese translation (#4743) --- pages.zh/common/matlab.md | 16 ++++++++++++++++ pages.zh/windows/powershell.md | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 pages.zh/common/matlab.md create mode 100644 pages.zh/windows/powershell.md diff --git a/pages.zh/common/matlab.md b/pages.zh/common/matlab.md new file mode 100644 index 000000000..98d7b121e --- /dev/null +++ b/pages.zh/common/matlab.md @@ -0,0 +1,16 @@ +# matlab + +> MathWorks 制作的数值计算环境。 +> 更多信息: . + +- 在启动过程中,运行时不出现闪屏: + +`matlab -nosplash` + +- 执行 MATLAB 语句: + +`matlab -r "{{matlab_语句}}"` + +- 运行 MATLAB 脚本: + +`matlab -r "run({{路径/script.m}})"` diff --git a/pages.zh/windows/powershell.md b/pages.zh/windows/powershell.md new file mode 100644 index 000000000..d30f7eae7 --- /dev/null +++ b/pages.zh/windows/powershell.md @@ -0,0 +1,32 @@ +# powershell + +> 专为系统管理而设计的命令行 shell 和脚本语言. +> 更多信息: . + +- 在命令提示符窗口中启动 Windows PowerShell 会话: + +`powershell` + +- 加载一个特定的 PowerShell 控制台文件: + +`powershell -PSConsoleFile {{路径/file}}` + +- 用指定版本的 PowerShell 启动会话: + +`powershell -Version {{版本}}` + +- 防止运行启动命令后 shell 退出: + +`powershell -NoExit` + +- 描述发送到 PowerShell 的数据格式: + +`powershell -InputFormat {{Text|XML}}` + +- 设定 PowerShell 输出的格式: + +`powershell -OutputFormat {{Text|XML}}` + +- 显示帮助: + +`powershell -Help`