How can i import mass and stiffness matrices (MatK and MatK .TXT) to Matlab ?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Image Analyst
el 28 de En. de 2021
Try importdata() or readmatrix(). Attach matm.txt if you still have trouble.
6 comentarios
munachi
el 26 de Oct. de 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
el 26 de Oct. de 2024
data = import('matm.txt');
For more info:
help importdata
Ver también
Categorías
Más información sobre Text Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
