安装 Symbolic Math Toolbox 时程序闪退
6 views (last 30 days)
Show older comments
使用以下代码时:
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闪退,安装工作并没有开始。
0 Comments
Answers (1)
Swaraj
on 6 Apr 2023
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!!
0 Comments
See Also
Categories
Find more on Assumptions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!