visdiff does not work when launched from an executable produced through mcc on Windows
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Entering Commands en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!