How can I allow a deployed script access a custom function

1 view (last 30 days)
I'm fairly new at this, so this may be an obvious question. I have a script that I need to run in the background everyday via windows task manager using MCR. This script accesses custom functions. When I run the uncompiled version in matlab, it works fine. I cannot get the compiled version to run. My guess is that the custom functions are not on the path. I tried using addpath in my script and also tried packaging the functions with the script. I think I must be missing something pretty obvious. Thanks, Alex
  1 Comment
Walter Roberson
Walter Roberson on 5 Dec 2013
Have you tried adding in a try/catch in order to print out what MATLAB thinks the problem is?

Sign in to comment.

Answers (0)

Categories

Find more on Search Path 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!