Including external text in Matlab code

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Walter Roberson
Walter Roberson il 1 Set 2012
Write the output to a .m file, and use run()

Più risposte (0)

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by