Any other variable, use assignin:A=magic(20);assignin('base','A',A);正确的方法:在调试 期间进行检查如果您真的希望它们不在本地范围内,请将它们添加为输出变量!Inspect them during debuggingIf you really want them outside the local scope, add them as output variable!! 这篇关于如何获取局部变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-11 01:21