Question
Hi there An editbox in my gui will contain information when users push the start button. The information comes from imaqhwinfo command and it displays InstalledAdaptors: {'gentl' 'gige' 'kinect' 'matrox' 'winvideo'} MATLABVersion: '8.1 (R2013a)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '4.5 (R2013a)' I am trying to set these informations into an editbox but so far I could not success it.Anyone has an opion?Thanks in advance.
Expert Answer
Kshitij Singh
PhD Expert
Answered Aug 20, 2026
Something along these lines?
h = uicontrol('Style','edit',...
'Units','normalized',...
'Position',[0.1 0.1 0.8 0.5],...
'String','Hello World',...
'Callback',[],...
'Max',10);
S = imaqhwinfo;
fn = fieldnames(S);
str = '';
for ii = 1:numel(fn)
str = [str,fn{ii},S(1,1).(fn{ii}),sprintf('\n')];
end
set(h,'String',str)
You'll need to tune the string to your specific size/style etc.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related guide Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →