How can I get rid of the error showing "Undefined function 'abs' for input arguments of type 'Interface.00020846_0000_0000_C000_000000000046' "?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
clc(); clear all; exl=actxserver('excel.application') exlwkbk=exl.Workbooks exlfile=exlwkbk.Open([docroot '\Delhi_CodaQ.xlsx']) exlsheet1=exlfile.Sheets.Item('07-09-2011_Ali') data=exlsheet1.Columns.End(2) numrows=data.rows dat_range=['B' num2str(numrows)]
My data is in the B column of excel file '07-09-2011_Ali' which I need to store in a MATLAB variable. The last line of my code is showing error saying Undefined function 'abs' for input arguments of type 'Interface.00020846_0000_0000_C000_000000000046' followed by the line Error in num2str (line 65) xmax = double(max(abs(widthCopy(:)))); How to solve this problem?
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Data Import from MATLAB en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!