Effacer les filtres
Effacer les filtres

After creating setup printdlg fails to work

1 vue (au cours des 30 derniers jours)
Manu MJ
Manu MJ le 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?

Réponse acceptée

Manu MJ
Manu MJ le 10 Fév 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.

Plus de réponses (0)

Catégories

En savoir plus sur Call C from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by