Save a simplified ModelingToolkit problem as text

Does ODEProblemExpr do what you want?

1 Like