دورات هندسية

 

 

i need ur help plz

النتائج 1 إلى 2 من 2
  1. [1]
    ahmed_seh
    ahmed_seh غير متواجد حالياً

    جديد

    تاريخ التسجيل: Apr 2009
    المشاركات: 5
    Thumbs Up
    Received: 0
    Given: 0

    i need ur help plz

    hi everyone i have problem and i wish anyone can help me with that.
    my problem is

    i wanna create list dialog box using matlab but the coomand
    [selection,ok]=listdlg('PromptString','Select your process','SelectionMode','Multiple','Name','List dialog Box','ListString',s)
    enables only one item to be selected which is s in above example but i wanna more than one item to be shown in the list dialog and can be selected by the user.
    i tried the following code:

    [selection1,selection2,selection3,ok]=listdlg('PromptString','Select your process','SelectionMode','multiple','Name','List dialog Box','ListString','start encryption','add user','delete user')
    but i got error message syas " too many output arguments"

    so plz can anyone help with that problem and tell how to do it?? i will be more greatful for u

    thank u very much with my best regards

  2. [2]
    ahmedmecha
    ahmedmecha غير متواجد حالياً
    عضو متميز
    الصورة الرمزية ahmedmecha


    تاريخ التسجيل: Oct 2006
    المشاركات: 365
    Thumbs Up
    Received: 5
    Given: 0
    Hello,

    Since you have to build multiple choices, you have to choose a cell variable ... try the following code

    كود:
    clear all
    clc
    
    s = {'selection1','selection2','selection3'};
    [selection,ok]=listdlg('PromptString','Select your process',...
                                           'SelectionMode','Multiple',...
                                           'Name','List dialog Box',...
                                           'ListString',s)

    0 Not allowed!


    Imagination is more important than knowledge


  
الكلمات الدلالية لهذا الموضوع
help, i, need, plz, ur

عرض سحابة الكلمة الدلالية

RSS RSS 2.0 XML MAP HTML