Filter löschen
Filter löschen

After creating setup printdlg fails to work

1 Ansicht (letzte 30 Tage)
Manu MJ
Manu MJ am 3 Jan. 2012
Hi,
I have created setup for my software using 2009b matlab version using compiler. After creating setup i am unable to perform print action. At the back end program i am using printdlg command.
I am getting an error as below but same not appearing in source code.
??? Error while evaluating uimenu Callback
??? Error using ==> printdlg at 11 PRINTDLG requires exactly one argument.
What is the reason?

Akzeptierte Antwort

Manu MJ
Manu MJ am 10 Feb. 2012
Some times Matlab cheats like when i run the software using source print, printdlg works fine with out requesting any input parameters but after creating setup ans run standalone it throws an error "Pass the required input".
So please always try to pass parameters while printing like
printdlg(gcf);
then it works fine.

Weitere Antworten (0)

Kategorien

Mehr zu Call C from MATLAB 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!

Translated by