声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1649|回复: 8

[工具箱] 6.5的工具箱在7.0中的调用失败问题

[复制链接]
发表于 2007-12-19 10:16 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
各位大虾:有一个函数(工具箱)armax,我在matlab6.5中可以正常使用,但是matlab7中没有这个工具箱,于是我把6.5中的加载到了7中,结果是可以help到armax,但是一用的时候就是:??? Undefined function or variable 'armax'.
利用which armax,可以显示路径,但是又多了一点东西:D:\MATLAB7\toolbox\ident\ident\armax.m  % Has no license available

现在的问题就是在matlab7中用不了armax,哪位知道什么问题,怎么用阿?
小弟很是着急,万分感谢!!

[ 本帖最后由 eight 于 2007-12-19 10:36 编辑 ]
回复
分享到:

使用道具 举报

发表于 2007-12-19 10:25 | 显示全部楼层

回复 #1 yzhhou 的帖子

6.5的工具箱放到7.0里当然会出问题,怎么不直接装7.0的ident工具箱呢?我的就有:
help armax
ARMAX        Computes the prediction error estimate of an ARMAX model.

    M = ARMAX(Z,[na nb nc nk])  or M = ARMAX(Z,'na',na,'nb',nb,'nc',nc,'nk',nk)

    M : returns the estimated model in an IDPOLY object format
    along with estimated covariances and structure information.
    For the exact format of M see also help IDPOLY.

    Z :  The estimation data in IDDATA object format. See help IDDATA

    [na nb nc nk] are the orders and delays of the ARMAX model

           A(q) y(t) = B(q) u(t-nk) + C(q) e(t)

    If the data have several inputs, nb and nk are row vectors with
    lengths equal to the number of input channels. If the data is a time
    series (no input) an ARMA model A(q) y(t) = C(q) e(t) is built. Then nb
    and nk should be omitted, i.e. enter [na nc].

    An alternative syntax is M = ARMAX(Z,Mi), where
    Mi is an estimated model or created by IDPOLY.
    The minimization is then initialized at the parameters given in Mi.

    By M = ARMAX(Z,nn,Property_1,Value_1, ...., Property_n,Value_n)
    all properties associated with the model structure and the algorithm
    can be affected. See HELP IDPOLY  or IDPROPS ALGORITHM for a list of
    Property/Value pairs.

    Reference page in Help browser
       doc armax

我的是版本本身就带的有,因此建议装个工具箱齐全的matlab版本。你也可以去网上搜搜看有没有7.0的供下载,然后再加进去
 楼主| 发表于 2007-12-19 10:27 | 显示全部楼层
那你的7中的armax能用吗?
which armax输入后显示什么?
 楼主| 发表于 2007-12-19 10:36 | 显示全部楼层

回复 #2 花如月 的帖子

我的问题是在7。0中能help到armax,显示和你的一样
但是不能用:
armax
??? Undefined function or variable 'armax'.
再用which armax命令
显示:
D:\MATLAB7\toolbox\ident\ident\armax.m  % Has no license available
不正常的地方是 % Has no license available!

郁闷了好长时间了
望知情认识指点迷津啊!!
发表于 2007-12-19 10:46 | 显示全部楼层

回复 #4 yzhhou 的帖子

>> which armax
C:\Program Files\MATLAB704\toolbox\ident\ident\armax.m
>> armax
Usage: M = armax(Data,Orders);
       M = armax(Data,Orders,Prop/Value pairs).

你的没有正确安装
 楼主| 发表于 2007-12-19 10:49 | 显示全部楼层

回复 #5 花如月 的帖子

有可能是这样的
算 了,没有办法,我先用6。5吧
感谢你的回答!:handshake
发表于 2007-12-19 10:56 | 显示全部楼层
 楼主| 发表于 2007-12-19 11:12 | 显示全部楼层
原帖由 eight 于 2007-12-19 10:56 发表

rehash toolboxcache 试试

还是不行
感谢!:handshake
发表于 2007-12-19 11:31 | 显示全部楼层
楼主是把6.5的工具箱放到7.0里边,这个谁也说不好会出什么问题。

因此建议直接加7.0的工具箱
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-23 17:21 , Processed in 0.064488 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表