The 'bdroot' function can not be read when I convert my GUI program to exe
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Micheal.ZHANG
am 7 Aug. 2018
Kommentiert: Micheal.ZHANG
am 7 Aug. 2018
Hello, now I have a GUI guide program which includes 'bdroot' function in its m-file. After I convert my program to .exe file using command 'mcc -m mymfilename'(or deploytool),I acturally get an .exe file but when I run it, the result shows that the funtion 'bdroot' was not defined.(Note that there is another way to do the conversion using deploytool, but the outcome .exe does not work well either due to no response.) what should I do now?
Any answers or comments will be appreciated. Thank you in advance.
0 Kommentare
Akzeptierte Antwort
Kojiro Saito
am 7 Aug. 2018
If so, as this Ineligible Programs page says, Simulink functions are ineligible with MATLAB Compiler and bdroot cannot be used in compiled application.
If 'bdroot' means your custom function, you can add dependencies by mcc '-a' options.
mcc -m mymfilename.m -a youbdrootfunction.m
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!