Set a default property for symbolic variables
1 view (last 30 days)
Show older comments
I would like to set all of my symbolic variables to be real by default, ideally in my startup script. Is there a way to do this? Thanks
0 Comments
Answers (1)
Walter Roberson
on 21 Jan 2013
No, there is not.
You could write a function that created symbols and used assuming() to add properties to them, and then assignin('caller')
0 Comments
See Also
Categories
Find more on Assumptions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!