필터 지우기
필터 지우기

Is it possible to work with Matlab directly from powershell?

조회 수: 49 (최근 30일)
Ubaldo
Ubaldo 2021년 9월 27일
답변: Peter Strassmann 2022년 4월 16일
I wish to operate matlab directly from the powershell, without the need of opening a separate window for the command line.
Note that I don't mean to run a script or running matlab without desktop. What I mean is to have the matlab command line embedded in a powershell session.
To be more clear, take as an example the screenshot below: I have a vim editor on top and a python session in bottom in the same window. What I am aiming at is to have exactly the same layout but with matlab instead of python in the bottom side.
I tried open matlab with various options, including -nodesktop, -nodisplay, etc. but it always open the matlab command window in a separate window.

답변 (1개)

Peter Strassmann
Peter Strassmann 2022년 4월 16일
You want to run the command matlab with the flag -batch instead. See the docs (expand input arguments > option1 ... optionN):
https://ch.mathworks.com/help/matlab/ref/matlabwindows.html

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by