openfoamquest

OpenFOAMや流体解析の使い方を紹介しています

octave (matlab) を Google Colaboratory で動かす

openfoamquest.hatenablog.jp

前回の続き

octave(matlab)のプログラムをpythonに変換しようかと模索していたら

どうやらOctaveはGoogle Colaboratoryにインストールできるようです。

 

python 2.7 - How to run matlab .m files in google colab - Stack Overflow

 

実際にやってみたらインストールできました。

!apt install octave
Reading package lists... Done Building dependency tree Reading state information... Done
~以下省略~