MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   matlab modem.oqpskmod (https://www.labfans.com/bbs/showthread.php?t=23086)

poster 2019-12-10 20:30

matlab modem.oqpskmod
 
我想使用以下内容(在MATLAB R2007a中)

h = modem.oqpskmod 但是MATLAB抱怨调制解调器没有如下定义:

??? Undefined function or variable 'modem'. Error in ==> program at 34 h = modem.oqpskmod 为了能够使用modem.oqpskmod,我有什么需要包括,导入,...的?谢谢!



[B]回答:[/B]

[URL="http://www.mathworks.com/access/helpdesk/help/toolbox/comm/ref/modem.html"][B]调制解调器[/B][/URL]对象[URL="http://www.mathworks.com/access/helpdesk/help/toolbox/comm/rn/bq7qlgv-1.html"]最初[/URL]是在[URL="http://www.mathworks.com/access/helpdesk/help/toolbox/comm/"]Communications Toolbox的[/URL] [URL="http://www.mathworks.com/access/helpdesk/help/toolbox/comm/rn/bq7qlgv-1.html"]版本4.0(R2007b)[/URL]中[URL="http://www.mathworks.com/access/helpdesk/help/toolbox/comm/rn/bq7qlgv-1.html"]引入的[/URL] ,它们现在是较新版本中的[I]类[/I] ( [URL="http://www.mathworks.com/access/helpdesk/help/toolbox/comm/ref/modem.oqpskmod.html"][B]oqpskmod[/B][/URL]是该类的方法,因此是语法modem.oqpskmod )。由于您使用的是MATLAB版本7.4(R2007a),所以我猜您也在使用“通讯工具箱”的3.5版( [I]刚[/I]引入调制解调器对象[I]之前[/I]的版本)。这可以解释为什么MATLAB会说未定义modem 。

您可以通过[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/ver.html"]VER[/URL]功能检查使用的是哪个版本的Communications Toolbox。只需在命令提示符下键入ver即可查看所有已安装工具箱的版本列表。



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


所有时间均为北京时间。现在的时间是 04:49

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