フィルターのクリア

My App does not plot the data i read, why?

1 回表示 (過去 30 日間)
Alex Perrakis
Alex Perrakis 2022 年 8 月 17 日
コメント済み: Alex Perrakis 2022 年 8 月 17 日
Hello Dear Matlab Community,
i am trying to develope a GUI with the help of MATLBA app designer and i am hopelessly stuck, i do not know why my app does not plot the data that is appears to read. I would very much appreciate any help you can give me. I will upload the app i have written as well as the data i have to read, if you want to make it run on your pc you may have to adjust the path. Also i removed the ";" to see if the does indeed read the data and it appears to be so.
P.S.
Please place the .csv in one file to open then, the skript iterates between them.
Thank you very much in advance, i am a complete novice in GUIs and app design so be gentle :D

採用された回答

Kevin Holly
Kevin Holly 2022 年 8 月 17 日
  1. You need to get rid of clear on line 60. This removes the uicomponents from the "app" variable. This prevents you from plotting later.
  2. I recommend using dir(fullfile(URL,'*.csv')) so that only ".csv" are read in the selected directory.
close all
addpath(genpath('../../Functions'))
URL = uigetdir('C:\_Daten');
measurements = dir(fullfile(URL,'*.csv')); measurements(1:2) = [];
  1 件のコメント
Alex Perrakis
Alex Perrakis 2022 年 8 月 17 日
Thanks!

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by