How can i import mass and stiffness matrices (MatK and MatK .TXT) to Matlab ?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Image Analyst
le 28 Jan 2021
Try importdata() or readmatrix(). Attach matm.txt if you still have trouble.
6 commentaires
munachi Egbo
le 26 Oct 2024
@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
le 26 Oct 2024
data = import('matm.txt');
For more info:
help importdata
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!