Why do I get error when I tried to export data out of MATLAB to excel file (EEM components)
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I tried to export the data to excel file but it has error. I tried to change to xlsx but it still has the same error. I do not know why and how to solve this problem ?
Please let me know if you understand this situation. Thank you so much !
[FMax,B,C]=ModelOut(AnalysisData,3,'C:\MyParafacResults.xlsx')
Error using xlswrite (line 224)
Invoke Error, Dispatch Exception:
Source: Microsoft Excel
Description: ƒtƒ@ƒCƒ‹ 'C:\4A584310' ‚ɃAƒNƒZƒX‚Å‚«‚Ü‚¹‚ñBŽŸ‚Ì‚¢‚¸‚ê‚©‚Ì——R‚ªl‚¦‚ç‚ê‚Ü‚·B
? ƒtƒ@ƒCƒ‹–¼‚Ü‚½‚̓pƒX‚ª‘¶Ý‚µ‚Ü‚¹‚ñB
? ƒtƒ@ƒCƒ‹‚ª‘¼‚̃vƒƒOƒ‰ƒ€‚É‚æ‚Á‚ÄŽg—p‚³‚ê‚Ä‚¢‚Ü‚·B
? •Û‘¶‚µ‚悤‚Æ‚µ‚Ä‚¢‚éƒuƒbƒN‚Æ“¯‚¶–¼‘O‚̃uƒbƒN‚ªŒ»ÝŠJ‚©‚ê‚Ä‚¢‚Ü‚·B
Help File: xlmain11.chm
Help Context ID: 0
Error in ModelOut (line 38)
xlswrite(excelname,FMax,'FMax')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/285724/image.png)
5 Kommentare
Thiago Henrique Gomes Lobato
am 19 Apr. 2020
I can't find ModelOut as a native matlab function nor in file exchange, which probably means it is from an external toolbox or a private function from some collegue of yours. You showed only the description, so it is nor possible to know what exactly it does. I belive the problem is likely there, you can test if you can write in excel with a native function with:
xlswrite('C:\MyParafacResults.xls',{AnalysisData})
If this works than the problem is indeed in the ModelOut function.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!