LoginSignup
1
2

More than 5 years have passed since last update.

MATLABのコードをシェルから指定して実行

Last updated at Posted at 2012-12-26

MATLABのコードをコマンドラインからは,
以下のようにして指定して実行できる.

echo 'magic(3)' | matlab -nodisplay

MATLABのコードをシェルスクリプト内で指定するときにも便利.

for lambda in `seq 0 0.2 1` ; do
    echo \
    "my_function($lambda);" \
    | matlab -nodisplay
done
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2