Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to make a program takes its inputs from the outputs of another program and vis versa
조회 수: 1 (최근 30일)
이전 댓글 표시
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
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
2015년 4월 14일
which method you are using to solve Reynold's equation and which algorithm???
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!