matlab to exe ""input function not work""

7 visualizaciones (últimos 30 días)
mangood UK
mangood UK el 19 de En. de 2013
hi i had watch this video on yotu to learn how to convert my code to exe
my code is
xv = input('Please dr. enter the values of x ponits : ' );
yv = input('Please dr. enter the values of y ponits : ' );
patch(xv,yv,'y');
ylim([-5, 12]); xlim([0, 12]); grid on;
but the problem is when i excute my exe i only get empty plot the function input is not work??? how can i solve this
thank in advance best regards m.s

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 19 de En. de 2013
Editada: Azzi Abdelmalek el 19 de En. de 2013
Use inputdlg function

Más respuestas (1)

Walter Roberson
Walter Roberson el 19 de En. de 2013
Generate the program as having a console window. If you generate it without a console window, there is no-where for the user to input the values.

Categorías

Más información sobre Linear Algebra en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by