安装 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 CenterFile Exchange 中查找有关 Assumptions 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!