How can i import mass and stiffness matrices (MatK and MatK .TXT) to Matlab ?
6 次查看(过去 30 天)
显示 更早的评论
Hi every one, i'm very new in MATLAB, i extracted mass and stiffness matrices from ansys workbench text files, and i want to import them to MATLAB.
load matm.txt
Error using load
Unable to read file 'matm.txt'. Input must be a MAT-file or an ASCII file containing numeric
data with same number of columns in each row.
0 个评论
回答(1 个)
Image Analyst
2021-1-28
Try importdata() or readmatrix(). Attach matm.txt if you still have trouble.
4 个评论
Image Analyst
2021-2-9
OK, since you saw my last sentence where I asked you to attach matm.txt, and since you did not attach it, I will assume that you chose not to attach it because you got it figured out already and no longer need our help. So I'm glad that you got it figured out.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!