MATLAB: Dicom file in app designer app designerappdesignerdicomimshow I can't show image of dicom file in UIAxes in app designer , how i can show dicom image in UI Axes Best Answer You just need to specify the UIAxis handle in your app. Here's a functional demo using a built-in dcm file.info = dicominfo('CT-MONO2-16-ankle.dcm');Y = dicomread(info);app.Figure = uifigure(); % you won't need this lineapp.UIAxes = uiaxes(uif); % you won't need this lineimshow(Y,[],'Parent',app.UIAxes); % replace app.UIAxes with your axis handle.% ^^^^^^^^^^^ Related SolutionsMATLAB: Hi guys, I’m trying to create a multiwindow app. It’s the first app but I’m taking this error. How to solve it I beleive your error is here% Code that executes after component creation function startupFcn(app, MainApp, a, b, c) % Store main app in property for CloseRequestFcn to use app.CallingApp = mainApp; % <----------------------------- HEREShould be app.CallingApp = MainApp; % with capital MMake that change, save the app, close the app, restart it, and test it. If the problem persists, I'd be glad to look further. MATLAB: Plotting in App designer x = 1:10;y = sin(x);plot(app.UIAxes,x,y); Related QuestionHow to display an image in UI Figure on app designerPassing variables in GUI’s in AppDesignerHow to get image after displaying it in matlab GUI made from appdesignerApp Designer: How to use a camera in different CallbacksApp designer error classify
Best Answer