How can i import mass and stiffness matrices (MatK and MatK .TXT) to Matlab ?

11 ビュー (過去 30 日間)
Atif Laiche
Atif Laiche 2021 年 1 月 27 日
コメント済み: Image Analyst 2021 年 2 月 9 日
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.

回答 (1 件)

Image Analyst
Image Analyst 2021 年 1 月 28 日
Try importdata() or readmatrix(). Attach matm.txt if you still have trouble.
  4 件のコメント
Atif Laiche
Atif Laiche 2021 年 2 月 9 日
No, i did not !! sorry for my late response
Image Analyst
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 ExchangeText Files についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by