Why do I get error when I tried to export data out of MATLAB to excel file (EEM components)
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Thiago Henrique Gomes Lobato
le 19 Avr 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.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets 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!