フィルターのクリア

Examples of usage "img2xlsx" function

1 回表示 (過去 30 日間)
endystrike
endystrike 2019 年 4 月 1 日
コメント済み: endystrike 2019 年 4 月 2 日
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');

回答 (1 件)

Image Analyst
Image Analyst 2019 年 4 月 1 日
There is no "img2xlsx" function in my MATLAB. I suggest you debug it with the author.
  5 件のコメント
Image Analyst
Image Analyst 2019 年 4 月 2 日
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.
endystrike
endystrike 2019 年 4 月 2 日
Thanks,
let's see if someone else has used that function with success! ;)
Have a nice day and thank you for your advices! ;)

サインインしてコメントする。

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!