Borrar filtros
Borrar filtros

visdiff does not work when launched from an executable produced through mcc on Windows

3 visualizaciones (últimos 30 días)
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)

Respuestas (0)

Categorías

Más información sobre Standalone Applications en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by