Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: matlab 类:句柄或值
关于这个handle类,你可以在这里看到它提到了关于这个类的以下内容:Objects that share references with other objects.
handle
Objects that share references with other objects
这是什么意思?
谢谢。
这意味着句柄对象是通过引用传递的,如此处所述。在将对象作为函数参数传递时,不是复制对象,这是 Matlab 中的默认行为,而是传递对它的引用。