Matlab Compiler Error in Packaging

Hello,
I'm working on compiling a program that previously compiled with no problem. However, recently I made an addition to change filenames at the beginning of the program using a function that calls FileRename (<http://www.mathworks.com/matlabcentral/fileexchange/29569)>. However, now that I've included that option, it fails to compile.
I'm using the GUI code as the main program file, and then additional files required to run are the main operation program that uses input from the GUI, as well as the loop function that calls FileRename.
When I include FileRename.m in the additional files section, it fails to compile in the "packaging" stage. When I don't include FileRename.m in additional files, it compiles, but throws an error when I attempt to open the executable.
Does anyone have any suggestions for things to try to fix this issue? Everything runs in code form before attempting to package into an executable -- however it throws an error that it uses Movefile instead of FileRename. Like I mentioned previously, prior to implementing file renaming, everything compiled and ran with no issue.
Thanks in advance for any help you can provide!

Answers (0)

Products

Asked:

on 10 Mar 2017

Community Treasure Hunt

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

Start Hunting!