How to display a selected text file in the listbox1 in another listbox

1 view (last 30 days)
Firstly, I set a push button being able to multiple choice and files I selected is listing in the listbox1 which title is "Selected File(s)". What I want to do is that I display a highlighted file in blue in the listbox1 in the listbox2 located at the right of listbox1...
I tried to write codes;
aaa = fileread(get(handles.lixtbox1, 'value'));
set(handles.text3,'string',aaa);

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!