Examples of usage "img2xlsx" function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I'm trying to use img2xlsx function to add 3 images to an xls file in "Results" folder...
The images are in .jpg format and they are also in "Results" folder as well. The file I want to add them is called "Results.xls" and it's in "Results" folder.
I tried to code this, but it doesn't work...
OutputFolder = 'Results\';
img2xlsx({'img1.jpg';'img2.jpg';'img3.jpg'}, 'results.xls', OutputFolder, 'GraphsSheet');
Thanks! ;)
This is the error I get:
Error using Interface.000208DB_0000_0000_C000_000000000046/Add
Invoke Error, Dispatch Exception:
Source: Microsoft Excel
Description: Impossibile accedere al file. Provare una delle seguenti operazioni:
• Assicurarsi che la cartella specificata esista.
• Assicurarsi che la cartella contenente il file non sia di sola lettura.
• Assicurarsi che il nome di file non contenga i seguenti caratteri: < > ? [ ] : results.xls oppure *
• Assicurarsi che il nome di file o il percorso non contenga più di 218 caratteri.
Help File: xlmain11.chm
Help Context ID: 0
Error in img2xlsx (line 93)
Workbook = invoke(Excel.Workbooks,'Add', ResultFile);
Error in SaveRes2 (line 21)
img2xlsx({'img1.jpg';'img2.jpg';'img3.jpg'}, 'results.xls', OutputFolder, 'GraphsSheet');
0 comentarios
Respuestas (1)
Image Analyst
el 1 de Abr. de 2019
There is no "img2xlsx" function in my MATLAB. I suggest you debug it with the author.
5 comentarios
Image Analyst
el 2 de Abr. de 2019
Sorry, but I doubt I'd have any better luck finding the author than you. I mean, if he didn't respond to your contact via the link on his submission page, I'd start with a web search and try to locate him that way. Just standard stuff. Good luck.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!