Getting a ' Undefined function 'mtimes' for input arguments of type 'cells' ' error
显示 更早的评论
Im completely new to matlab and I've got a problem that undoubtedly has a simple solution, but its beyond me at the moment, can anyone help?
- function [m, s1, s2] = Pop_up_test()
- answer = inputdlg({'mass', 'spring constant 1', 'spring constant 2'},'parameters',1);
- m = answer(1);
- disp(m);
- F = m * 9.8;
- disp(F)
I get the error in the 5th line where I calculate the force
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!