Matlab

Moderators: None (Apply to moderate this forum)
Number of threads: 1494
Number of posts: 2174

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
plz help me with my problem Posted by ahmed_seh on 11 Apr 2009 at 11:55 AM
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
Report
Re: plz help me with my problem Posted by giug on 12 Apr 2009 at 12:18 AM
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.
Report
Re: plz help me with my problem Posted by ahmed_seh on 12 Apr 2009 at 6:06 AM
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.
Report
Re: plz help me with my problem Posted by ahmed_seh on 12 Apr 2009 at 6:08 AM
thank u very much 4 ur response but i have found the answer 4 my problem i wish i can return ur favor



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.