Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to make a program takes its inputs from the outputs of another program and vis versa

1 回表示 (過去 30 日間)
Ayman Ryad
Ayman Ryad 2015 年 2 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have two dependent programs, the first one is to solve Reynolds Equation on a circular journal bearing to get the pressure distribution on the bearing surface and hence get the hydrodynamic forces , the other program is to solve the equation of motion for the bearing center to get the center locus of the bearing center and hence study the whirl stability, so I need the first program to take its inputs from the outputs of the second program and the second program to take its inputs from the outputs of the first program and make iteration for each time step in the second program
  1 件のコメント
Alessandro Masullo
Alessandro Masullo 2015 年 2 月 10 日
Are both programs written in Matlab?
If so, you can save the workspace (or some of the variables) using save, and load it with load. Otherwise, you can still use a text file to export the output and read it as an input for the other program.

回答 (1 件)

Suchit Shah
Suchit Shah 2015 年 4 月 14 日
which method you are using to solve Reynold's equation and which algorithm???

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by