visdiff does not work when launched from an executable produced through mcc on Windows
3 次查看(过去 30 天)
显示 更早的评论
I have implemented a MatLab program that calls function 'visdiff' to compare XML files.
It works perfectly well when I run the program from MatLab workspace. No error. Very nice GUI.
I compiled my program on Windows:
mcc -e Comp_CBCT_Modes_New_OK2.m
I get no error and the executable is generated.
I have NOT instaled MatLab runtime so far. I am aware that the libraries of my full MatLab installation will be used.
When I start the executable I get the following fatal error:
"Undefined function 'visdiff' for input arguments of type 'char'.
Error in = > Comp_CBCT_Modes_New_OK2 at line 299"
The online MatLab documentation shows examples of function visdiff with file names passed as char vectors ('file_name').
Furthermore, why function "visdiff" works when I run my program from MatLab workspace, which uses matLab interprter?
I am using MatLab R2020b
Shall I test my executable with Matlab runtime?
Please, help. I am developing my thesis that is almost due.
Thank you.
Maura (email: maura.monville@nhs.net)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Standalone Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!