Info

This question is closed. Reopen it to edit or answer.

How to display two equations: one with dummy vars AND one with actual var values showing

1 view (last 30 days)
I am trying to display (1) an equation with dummy variables followed by (2) the same equation with actual workspace variable values substituted for the dummy variables. In other words, a lead-in to how the final value was arrived at.
I can accomplish (1) by using an "Evaluate MatLab Expression" component to create a figure with a text(str) line where "str" is the LaTex code for my dummy equation. (axes are hidden)
Unfortunately, this method doesn't seem to recognize %<var> expressions so I can't use it to accomplish (2).
I am looking for a text solution if possible to do (1) and (2).
Any help would be most appreciated!

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!