Matlab - Adress_book

 
Vista:

Adress_book

Publicado por gabriel (2 intervenciones) el 17/12/2013 06:41:18
English

Hi all, I would spend address_book program that appears in the same matlab already in the help of the guide,'S GUI Examples
Well I would like to pass that pure uicontrol commands and that, I mean that the program is then done but here I leave edit the GUI, what is missing are the functions to call them and make it work
I would like the program and changing work just because of this created

Español

Hola a todos, quisiera pasar el programa de address_book que aparece en mismo matlab ya hecho , en el help del guide , Examples GUI´S
Bueno quisiera pasar eso a puros comandos con uicontrol y eso, osea que sea haga ese programa ya hecho pero edit aca les dejo la interfaz grafica , lo que falta son las funciones para llamarlas y hacer que funcione
Quisiera el programa cambiando y que funcione igual del que esta ya creado

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
function Libreta_Direcciones
figura = figure('Position',[350 700 470 250],...
    'MenuBar','none','NumberTitle','off',...
    'Name','Libreta de Direcciones en edit ');
frame_contacto = uicontrol(figura,'Style','frame',...
    'string','Contactos',...
    'Position',[19 23 431 211],...
    'Callback',@frame1_callback);
titulo_Nombre_Contacto = uicontrol(figura,'Style','text',...
    'FontSize',15.0,...
    'BackgroundColor','blue',...
    'ForegroundColor','yellow',...
    'String','Nombre del contacto',...
    'Position',[50  181 191 29],...
    'Callback',@titulo1_callback);
Contact_Name= uicontrol(figura,'Style','edit',...
    'FontSize',12.0,...
    'BackgroundColor','black',...
    'ForegroundColor','white',...
    'String','',...
    'Position',[50 148 360 26],...
    'Callback',@Contact_Name_callback,...
    'CreateFcn',@Contact_Name_CreateFcn);
titulo_Telefono_Contacto = uicontrol(figura,'Style','text',...
    'FontSize',15.0,...
    'BackgroundColor','blue',...
    'ForegroundColor','yellow',...
    'String','Telefono del Contacto',...
    'Position',[50 94 202 26],...
    'Callback',@titulo2_callback);
Contact_Phone= uicontrol(figura,'Style','edit',...
    'FontSize',12.0,...
    'BackgroundColor','black',...
    'ForegroundColor','white',...
    'String','',...
    'Position',[50 59 181 26],...
    'Callback',@Contact_Phone_callback,...
    'CreateFcn',@Contact_Phone_CreateFcn);
Prev= uicontrol(figura,'Style','push',...
    'FontSize',12.0,...
    'BackgroundColor','red',...
    'ForegroundColor','white',...
    'String','Prev',...
    'Position',[280 60 61 30],...
    'Callback',@Prev_callback);
Next= uicontrol(figura,'Style','push',...
    'FontSize',12.0,...
    'BackgroundColor','red',...
    'ForegroundColor','white',...
    'String','Next',...
    'Position',[370 59 61 31],...
    'Callback',@Next_callback);
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder