Code doesn't work when I upload it to dropbox

Hello!
I have a script and importfile function and datas in one folder. When I upload this folder to dropbox and when someone download it, the code doesn't work. But it still works in my own folder. I compared the scripts and there is no difference. What could be the problem? Thanks in advance!

Answers (1)

Check if the other person imports files from the same folder than you. When you dont have the folder of the file opened on the "current folder" window it will not work.

Categories

Asked:

on 1 Dec 2017

Community Treasure Hunt

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

Start Hunting!