필터 지우기
필터 지우기

Including external text in Matlab code

조회 수: 1 (최근 30일)
Moshe
Moshe 2012년 9월 1일
I am writing a script to solve a set of differential equations in Matlab. The equations and related objects are generated externally (in Mathematica) and translated to Matlab format. The end point of that process results in (many) snippets of text which I can cut and paste into the Matlab script in the appropriate places. It would be nicer to be able to load that text from a file into the script in the appropriate places. How do I do that?

채택된 답변

Walter Roberson
Walter Roberson 2012년 9월 1일
Write the output to a .m file, and use run()

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by