gpt4 book ai didi

oop - MATLAB代码的打包

转载 作者:太空宇宙 更新时间:2023-11-03 20:26:57 25 4
gpt4 key购买 nike

在最近的问题“How to organize MATLAB code?”中,Andrew Janke 在他的回答中提到使用类将 MATLAB 函数组织到包中:

... consider rewriting some of the code as objects, using stateless utility classes with class methods and private functions as ways of packaging related functions together and providing some encapsulation. ... In classic MATLAB, classes are your only way of doing some sort of packages.

能否提供更多相关信息?用于理解概念的链接、代码示例。

最佳答案

关于oop - MATLAB代码的打包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2329560/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com