Import mat file in to App Designer
Ältere Kommentare anzeigen
I would like import mat-file that contains some variables, but I can't load the file. Thanks for all.
% code
classdef app1_1 < matlab.apps.AppBase
% Properties that correspond to app components
properties (Access = public)
UIFigure matlab.ui.Figure
TabGroup matlab.ui.container.TabGroup
Evporazione_annuale matlab.ui.container.Tab
UIAxes matlab.ui.control.UIAxes
Evaporazione_mensile matlab.ui.container.Tab
UIAxes2 matlab.ui.control.UIAxes
ANNILabel matlab.ui.control.Label
Lista_anni matlab.ui.control.DropDown
end
properties (Access = private)
load 'C:\Users\cecch\Documents\UNIVERSITA\Impianti Speciali Idraulici\Dati Portata\workspace_evaporazione.mat'
end
1 Kommentar
dario cecchetti
am 15 Mai 2018
Akzeptierte Antwort
Weitere Antworten (1)
Kunpeng Zhang
am 24 Nov. 2019
0 Stimmen
How can I select a specific variable in the .mat file which contains different variables in the user interface? By 'text area' or what
1 Kommentar
Asim Zaib
am 21 Apr. 2022
example_matFile.mat.Variable_you_want_to_select
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!