Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID


We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

plz help me with my problem

ahmed_sehahmed_seh Posts: 25Member
hi guys i face a problem and i need ur help
i use matlab and i wanna create list dialog box but the command

[selection,ok]=listdlg('PromptString','Select your process','SelectionMode','Multiple','Name','List dialog Box','ListString',s) enables only one item to be shown in the dialog list and can be selected. i want more than one item to be shown and then can be selected. 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 an error message says
too many output arguments
so plz if anyone can help me with that problem
waiting 4 ur reply

thank u very much with my best regards


  • giuggiug Posts: 217Member
    If I understand your problem, it is possible to show more than one item.
    Let's see the example in the matlab help. You have to pass to the function the list of strings to be shown, as in the example.
  • ahmed_sehahmed_seh Posts: 25Member
    thank u very much 4 ur response my friend but i have the answer for my problem and it has been solved. i hope i can return ur favor

    with my best wishes and regards.
  • ahmed_sehahmed_seh Posts: 25Member
    thank u very much 4 ur response but i have found the answer 4 my problem i wish i can return ur favor
Sign In or Register to comment.