Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
Atif Laiche
Atif Laiche le 27 Jan 2021
Commenté : Image Analyst le 9 Fév 2021
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.

Réponses (1)

Image Analyst
Image Analyst le 28 Jan 2021
Try importdata() or readmatrix(). Attach matm.txt if you still have trouble.
  4 commentaires
Atif Laiche
Atif Laiche le 9 Fév 2021
No, i did not !! sorry for my late response
Image Analyst
Image Analyst le 9 Fév 2021
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.

Connectez-vous pour commenter.

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by