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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
farzad
farzad il 18 Mag 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 il 18 Mag 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()

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by