When deploytool , 'Unable to determine function name or input/output argument count for function in M-file 'filename'...

2 views (last 30 days)
Whe I use the deploytool ,then build ,the error appears:
Unable to determine function name or input/output argument count for function in Matlab file 'filename.m'...
So I use Checkcode('filename.m'):
L 80 (C 10-26): THe function 'pshtnpcm1_Callback' might be unused.
L 93 (C 10-26): THe function 'pshtnpcm2_Callback' might be unused.
As a matter of fact , in 'pshtnpcm1_Callback' :
[~,b] = uigetfile();
set(handles.edit2,'String',b);
in 'pshtnpcm2_Callback' :
c = uigetdir();
set(handles.edit1,'String',c);
I don't know why it can not use deploytool to produce '*.exe' file. Thank you !

Answers (0)

Categories

Find more on Debugging and Analysis 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!