Set a default property for symbolic variables
Ältere Kommentare anzeigen
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
Antworten (1)
Walter Roberson
am 21 Jan. 2013
0 Stimmen
No, there is not.
You could write a function that created symbols and used assuming() to add properties to them, and then assignin('caller')
Kategorien
Mehr zu Assumptions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!