function calling toolboox use
Show older comments
Hi, I am running the following script
but it is like the XRMLread function is not seen.
The error is
>> XRDMLread
Undefined function or variable 'XRDMLread'.
I dowloaded the xrmltree toolbox and unzipped it in the same folder of the AU data (different from Matlab folder).
Some suggestion about how to use the toolboox? where should I unzip the toolbox.
d = XRMLread('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)' )
5 Comments
Walter Roberson
on 23 Mar 2019
Are you referring to https://www.artefact.tk/software/matlab/xml/ ? If so then did you do the addpath() that they indicate ?
giusipa
on 23 Mar 2019
Walter Roberson
on 23 Mar 2019
addpath and follow it with the name of the directory that you unzipped the toolbox into. (Enclose the whole directory name in '' if there are any spaces in the name.)
giusipa
on 23 Mar 2019
Walter Roberson
on 23 Mar 2019
addpath('C:\Users\myname\Documents\MATLAB')
Answers (1)
Walter Roberson
on 23 Mar 2019
0 votes
XRMLread is from a completely different toolbox. http://www.xray.cz/xrdmlread/
2 Comments
giusipa
on 23 Mar 2019
Walter Roberson
on 23 Mar 2019
Get the XRMLread from the download link http://www.xray.cz/xrdmlread/Download.htm
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!