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

2 views (last 30 days)
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 Comments
farzad
farzad on 18 May 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 on 18 May 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()

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!