Including external text in Matlab code

1 visualización (últimos 30 días)
Moshe
Moshe el 1 de Sept. de 2012
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?

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Sept. de 2012
Write the output to a .m file, and use run()

Más respuestas (0)

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by