Matlab and Linux Environment

5 ビュー (過去 30 日間)
Austin
Austin 2012 年 1 月 24 日
Hey guys,
I have a problem with running Linux commands in Matlab.
It gives me the response code
>> !/home/osong/CUTErInstallation/cuter2/CUTEr.large.pc.lnx.g95/bin/runcuter /home/osong/CUTErInstallation/cuter2/CUTEr.large.pc.lnx.g95/bin/runcuter: Zeile 251: envcheck: Kommando nicht gefunden. >> >>
However this perfectly works in the Linux command enviroment in Linux Terminal.
When I change envcheck to ./envcheck , the command works in Matlab again with me being in this folder of envcheck. However there are simply too many of these commands I would have to change .
If you guys have any solution, I am very grateful!
Thanks! Austin
  1 件のコメント
Austin
Austin 2012 年 1 月 24 日
Kommando nicht gefunden = command not found

サインインしてコメントする。

回答 (1 件)

Jason Ross
Jason Ross 2012 年 1 月 24 日
It sounds like the terminal session has "." on the path, while the MATLAB one does not.
Do you have something in a .cshrc or .bashrc file that adds "." to the PATH?
If you start MATLAB from the terminal where it works, does it work in that MATLAB session?

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by