Receiving errors one line into my code

1 回表示 (過去 30 日間)
Andie Reyes
Andie Reyes 2020 年 6 月 16 日
コメント済み: Walter Roberson 2023 年 10 月 13 日
If I run
syms x
I recieve these errors
Error using mupadmex
Error in MuPAD command; Unknown slot 'symobl::size'. [slot].
Error in sym/privsubsasgn (line 1110)
sL = eval(mupadmex('symobj::size',L.s,0));
Error in sym/subsasgn (line 963)
C = privsubsasgn(L,R,inds{:});
Error in syms (line 263)
defined(k) = nsym;
-----------------------------------------
I have limited knowledge of matlab and am just using it for a calculus 3 class and lab

回答 (1 件)

Harsha Priya Daggubati
Harsha Priya Daggubati 2020 年 6 月 19 日
編集済み: Harsha Priya Daggubati 2020 年 6 月 19 日
Hi,
I could guess, this is because you donot have 'Symbolic Toolbox' installed in your MATLAB. Can you run the following command to check:
status = license('test','symbolic_toolbox')
If status is not 1, then you need to install the toolbox to proceed.
I hope this solves your issue, if not this might be due to the issue with MuPAD engine.
  4 件のコメント
Daniel Clancy
Daniel Clancy 2023 年 10 月 13 日
Thank you so much for this answer. The symbolic toolbox was not working on Mac OS Ventura even though the directory /var/tmp existed. Once I set the directory permissions for /var/tmp as follows:
sudo chmod 777 /var/tmp
and restarted matlab it finally works again.
Walter Roberson
Walter Roberson 2023 年 10 月 13 日
Note:
These days the mupad command has been removed from MATLAB.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with MuPAD についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by