MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   需要一个好的MATLAB类教程 (https://www.labfans.com/bbs/showthread.php?t=23457)

poster 2019-12-10 20:41

需要一个好的MATLAB类教程
 
我在尝试弄清楚如何在MATLAB中使用类时遇到了很多麻烦。我对C ++和Python非常熟悉,但是我对如何在MATLAB中定义类一无所知。有人通过很多例子知道很好的资源吗?官方文档还有很多不足之处。



[B]回答:[/B]

mathwork站点上确实有一些[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_oop/exampleindex.html"]OOP示例[/URL] ,您能更精确地指出您要查找的内容吗?

但是,请注意, [URL="http://www.mathworks.com/products/matlab/whatsnew.html"]较旧的Matlab版本[/URL]具有不同的OOP语法,在2008a中添加了classdef关键字(请参见[URL="http://www.mathworks.com/products/demos/shipping/matlab/WhatsNewR2008a_ObjectOrientedProgramming.html"]video[/URL] )。



[url=https://stackoverflow.com/questions/2878535]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:05

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.