필터 지우기
필터 지우기

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개)

카테고리

Help CenterFile Exchange에서 Standalone Applications에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by