xlmtree undefined function read
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
giusipa
le 22 Mar 2019
Réponse apportée : giusipa
le 22 Mar 2019
I copied the xlmtree folder into the toolbox folder of matlab.
While I keep the file of the data : AI.xrdml inside a folder of Pc desktop .
Actually, the path of MAtlab is the following '/Users/name/Desktop/Xray/xmltree-2.0/'
Then I run the following script
d = XRDMLread('AU.xrdml') %#ok<NOPTS>
% plot data
figure
semilogy( d.x , round(d.data*d.time) )
box on
xlabel( [d.xlabel '(' d.xunit ')'] )
ylabel( 'Intensity (counts)' )
title( d.filename , 'Interpreter','none','FontName','Helvetica')
And the output is the following:
>> xray
Undefined function or variable 'XRDMLread'.
Error in xray (line 3)
d = XRDMLread('AU.xrdml') %#ok<NOPTS>
Can someone help me to solve this problem?
0 commentaires
Réponse acceptée
KALYAN ACHARJYA
le 22 Mar 2019
Modifié(e) : KALYAN ACHARJYA
le 22 Mar 2019
And run the main script again.
Please check wheather you looking for XRDMLread file is same or not.
0 commentaires
Plus de réponses (2)
Voir également
Catégories
En savoir plus sur File Operations 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!