安装 Symbolic Math Toolbox 时程序闪退

6 ビュー (過去 30 日間)
帅 杨
帅 杨 2023 年 3 月 16 日
回答済み: Swaraj 2023 年 4 月 6 日
使用以下代码时:
x= str2sym('sin(2*pi*t/T)');
x5 = subs(x,5,'T');
提示:
'str2sym' 需要 Symbolic Math Toolbox。
出错 Pro7 (第 4 行)
x= str2sym('sin(2*pi*t/T)');
在附加资源管理器中选择安装 Symbolic Math Toolbox
提示:需要保存你的工作,然后关闭matlab
点击确认,matlab闪退,安装工作并没有开始。

回答 (1 件)

Swaraj
Swaraj 2023 年 4 月 6 日
Hi,
I understand that you are getting an error while using “str2sym” function. I tried to understand the possible reasons behind it.
You might be getting this error because “str2sym” function is a part of Symbolic Math Toolbox. You will need to install Symbolic Math Toolbox in Additional Explorer to make use of this function.
You can go through the following documentation for more details about the Symbolic Math Toolbox.
I hope it helps.
Thanks!!

カテゴリ

Help Center および File ExchangeAssumptions についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!