How can i import mass and stiffness matrices (MatK and MatK .TXT) to Matlab ?
11 ビュー (過去 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.
6 件のコメント
munachi
2024 年 10 月 26 日
@Image Analyst Please can explain how to use the attach matm.txt in this reference.
importdata(attach 'matlab.txt'); % Please just write it out it. Thank you.
Image Analyst
2024 年 10 月 26 日
data = import('matm.txt');
For more info:
help importdata
参考
カテゴリ
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!