Matlab can not run add layout lines in powerpoint and gives strange error

2 vues (au cours des 30 derniers jours)
farzad
farzad le 17 Mai 2020
Commenté : Walter Roberson le 18 Mai 2020
Hi All
just after some successfull runnings of my code, and simply adding more functions, now I am getting a new strange error :
Error using mlreportgen.ppt.Presentation/add
Cannot open file. createInputStream failed
  4 commentaires
farzad
farzad le 18 Mai 2020
I mean, I do
mydir=uigetdir()
drawnow;
mainfold= pwd
but if Matlab base is on another foder, mainfold get that one and not mydir. so, I should first change the matlab base folder
Walter Roberson
Walter Roberson le 18 Mai 2020
uigetdir() does not change current directories: it only gets a directory name from the user. You would then use it to construct file names or folder names, especially using fullfile()

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler 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!

Translated by