How to display volume slices (a slider sets the # of the slice) with app designer

1 回表示 (過去 30 日間)
Marco Zavatta
Marco Zavatta 2020 年 7 月 28 日
コメント済み: Du Chenlin 2020 年 9 月 3 日
Really simple app, but im new to app designer and i don't have much time.
I want to load a 3D matrix with data of a brain in it, and with a slider change the slice plotted.
Thanks in advance

回答 (1 件)

Sourabh Kondapaka
Sourabh Kondapaka 2020 年 8 月 13 日
Hi,
You can use the “Slider” Component under “Common” subsection of the “Component Library” in “Design View”.
The “Slider” component has two callBack functions that you can use.
  1. SliderValueChanging(app, event)” callback function when you want to execute some functionality as and when the Slider is moving ( or the Slider Value is Changing)
  2. SliderValueChanged(app, event)” callback function when you want to execute some functionality when Slider position has changed.
If you would like to learn more about CallBack functions you can check here
For more information on getting started with App Designer you can refer here
  1 件のコメント
Du Chenlin
Du Chenlin 2020 年 9 月 3 日
I already figured out how to draw 2D image with app deigner, but I still wonder how I can show a 3D volumetric data with app designer. Is there any valid reference? Thank you so much!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by