Tip: How to quickly evaluate an expression result #465
Quali-Community
started this conversation in
Useful Tips & Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In case you need to evaluate an expression and see what is the result of it, you can use do the following:
1. select the expression
2. right-click and select the 'Extract Variable' option (or just press on Ctrl+Alt+V)
this will open a variable properties window that will allow you to create a variable with the select text already set in the initial value. In this case, since we have an expression selected - you will get the result value of the expression.
For example:
In the following MatShell step, we can see an expression - thestrreplacefunction is used to replace part of the input string with another string.
We can select the whole line, and use the Extract Variable option (from the context menu or Ctrl+Alt+V)
Then, we'll see the variable properties window with the result of the expression in the Initial Value part.
Attachments:
Yaniv Kalsky (Yaniv.K) - 05/19/2013 06:39 AM
· 2843 ·
Beta Was this translation helpful? Give feedback.
All reactions