Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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!

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by