Import mat file in to App Designer
Show older comments
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 Comment
dario cecchetti
on 15 May 2018
Accepted Answer
More Answers (1)
Kunpeng Zhang
on 24 Nov 2019
0 votes
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 Comment
Asim Zaib
on 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!