3

This problem may seem a bit weird; please bear with me.

When I try to access any function in the 'Symbolic Math Toolbox' in MATLAB, such as help ztrans or help laplace, I get the following kind of message

ztrans not found.

Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods.

However, the toolbox seems to be installed when I try the ver or pathtool command.

Moreover, when I try some simple code such as:

>> syms k x
>> f = sin(k);
>> ztrans(f, k, x)

the code works fine and on trying the help command again, they seem to work fine as well. However, the problem again arises when I close and reopen MATLAB.

I found a few instances of other users facing similar problems on the Mathworks portal, but none of them seemed to provide any concrete solutions. Some of them seem to blame it on MATLAB hashing the tollbox incorrectly, so I tried the rehash toolbox command as well, but had no luck.

I'm not sure if this problem is just for this particular toolbox or not, but the other toolboxes I use at least seem to work fine.

EDIT-I

I also realised that the documentation is always available when I take Help --> Product Help from the menu-bar, though it is not available in the function browser even after I try the sample code.

EDIT-II

>> license('checkout','Symbolic_Toolbox')

gives me

ans =

     1

I'm not working on a student license either.

4

1 回答 1

1

这可能是许可证问题。尝试通过以下方式获取更多信息:

license('inuse')

如果您有学生版,则无法执行某些功能。

istudent

如果您在办公室/大学,并且您有浮动许可证。请务必在运行代码之前签出所有许可证。

license('checkout','toolbox_name')
于 2013-03-18T21:02:24.977 回答