function calling toolboox use
显示 更早的评论
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 个评论
Walter Roberson
2019-3-23
Are you referring to https://www.artefact.tk/software/matlab/xml/ ? If so then did you do the addpath() that they indicate ?
giusipa
2019-3-23
Walter Roberson
2019-3-23
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
2019-3-23
Walter Roberson
2019-3-23
addpath('C:\Users\myname\Documents\MATLAB')
回答(1 个)
Walter Roberson
2019-3-23
0 个投票
XRMLread is from a completely different toolbox. http://www.xray.cz/xrdmlread/
2 个评论
giusipa
2019-3-23
Walter Roberson
2019-3-23
Get the XRMLread from the download link http://www.xray.cz/xrdmlread/Download.htm
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!