Hello,
i´m working on an image registration program which will be exported by the mcc comand. The program uses an extern library which should not be included in the exe. After creating a Proto-File from the .dll and .h file and exporting the .m file as an exe the function is not working anymore. After some tests i think i might found the problem. Inside the function is a conditional if/ifelse statement to choose an image registration method. It seems like the standalone exe just skips this part and therefore multiple variables are not declared. The program then stops with the error "variable not found". I tried to replace the if-else statement with a switch case but this does not work as well. So my question is why does the standalone skip the conditional statement? Or may it be another problem?
Thank for the help!
Best Answer