Upper part of MATLAB App not visible

3 visualizaciones (últimos 30 días)
Dhananjay Singh
Dhananjay Singh el 25 de Oct. de 2021
Respondida: Jacob el 20 de Feb. de 2024
After sharing app file to other people some part of the app when run is not visible nor the app can be resized or moved on their system.

Respuestas (1)

Jacob
Jacob el 20 de Feb. de 2024
Reading through your query, I understand that you have difficulty in some of the interactive properties of your MATLAB App. While it is difficult to diagnose the exact problem you are facing without the source code to the app itself, double checking the following properties should help alleviate most of the issues:
Parts of app not visible
To solve this,
  1. Ensure that the UI Components within the application are all arranged to fit within the UIFIgure. Use containers like the Grid Container to help you achieve this. Refer to the Grid Container documentation below: https://www.mathworks.com/help/matlab/ref/matlab.ui.container.gridlayout-properties.html
  2. Alternatively, you can set the Scrollable property of the UIFigure to True to allow the App to have scrollbars, thus enabling you to scroll and see parts of the UI that were hidden. You can read more about the property in the documentation below: https://www.mathworks.com/help/matlab/ref/matlab.ui.figureappd-properties.html#shared-Scrollable
App cannot be resized
To solve this,
  1. Refer to the Resizeproperty of UIFigure and ensure that it is set to True. Refer to the documentation below to learn more: https://www.mathworks.com/help/matlab/ref/matlab.ui.figureappd-properties.html#bu4i700-1-Resize
App cannot be moved
To solve this,
  1. Ensure that the WindowStyleproperty is not set to Modal. You can refer to WindowStyle property and its different types in the documentaion below: https://www.mathworks.com/help/matlab/ref/uifigure.html#bu4i4ii-1_sep_mw_3f9f837c-69fb-4fc4-9ea2-7f96899b1ac4
The properties mentioned above can also be found in the Component Browser as well:

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by