필터 지우기
필터 지우기

Execute Linux Commands From Windows Matlab

조회 수: 17 (최근 30일)
Michael Cappello
Michael Cappello 2020년 7월 14일
편집: Bhupendra Prajapati 2020년 7월 15일
I am running Matlab 2013b on Windows 10.
There exist a program that runs on Linux session that I normally run via Putty Release 0.70.
The program is executed from the Linux command window and takes two input arguments.
From the Windows Matlab I want to be able to execute the program on Linux.
Is that possible?
Please keep in mind I am a Unix newbie.
Thanks!

답변 (1개)

Bhupendra Prajapati
Bhupendra Prajapati 2020년 7월 15일
편집: Bhupendra Prajapati 2020년 7월 15일
The "system" function lets you execute terminal commands on your local machine from MATLAB and can, therefore, be used in a MATLAB script to execute terminal commands.
You can check use the link below to find more details about system function
https://www.mathworks.com/help/matlab/ref/system.html
You can also check doc file for system
help system

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by