Тёмный

MATLAB app designer ( import data using a dialog box , working with Text Area and Text Edit Field ) 

High Voltage Engineering by MG Niasar
Подписаться 6 тыс.
Просмотров 41 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@ChiragPatel-rg3pl
@ChiragPatel-rg3pl Год назад
Thanks a lot for the video..
@ehsanulbarihome
@ehsanulbarihome 2 года назад
Very useful tutorial ...Thanks :)
@preetmalviya4869
@preetmalviya4869 3 года назад
Very simply done, thanks.
@jailenesilveri6106
@jailenesilveri6106 3 года назад
Great video. Thank you!
@mdmurtaza8321
@mdmurtaza8321 3 года назад
sir how to use that imported data into another callback as by directly passing it says unrecognised variable
@taoyang8784
@taoyang8784 2 года назад
I got the same warning, "Unrecognized function or variable 'file'."
@taoyang8784
@taoyang8784 2 года назад
Try the below code: [file,path,indx] = uigetfile({'*.xlsx'},'Select the Excel file'); filename = fullfile(path, file); measured_results = importdata(filename)
@MrDROPITHOT
@MrDROPITHOT 2 года назад
How can u show the APP Info in Command Window?
@louis2416
@louis2416 Год назад
can anyone explain, how to save those inputs into the workspace?
@laur2768
@laur2768 3 года назад
If I click cancel when I opened the file chooser, apps crash and give me the following error: *Error using importdata* *Unable to open file* What to do in this case?
@HVE
@HVE 3 года назад
That is probably because you need the file path in the next lines of your code. in that case define a parameter and set it to 0 originally. only if there is a file path change that parameter to 1. put he rest part of your code in an if function with the condition that if that parameter is 1, run the rest part of your code where the file path is needed. I don't know if this help or not but you may try it.
@amianifineug1353
@amianifineug1353 9 месяцев назад
THANK YOU please how run code matlab from designer interface
@njohnston071
@njohnston071 3 года назад
How would you get a database to read in from say the data explorer?
@HVE
@HVE 3 года назад
This link may help you: se.mathworks.com/help/database/ug/databaseexplorer-app.html
@njohnston071
@njohnston071 3 года назад
@@HVE got the solution it was a reference that wasn't long enough to include the condition I needed thank you for helping me
@shridevisandiramourty7167
@shridevisandiramourty7167 3 года назад
Very helpful. But unfortunately , even after choosing "All files" option, only the MATLAB files are available to be opened and not the text or csv files... Do you happen to know how to fix this? Thanks in advance
@HVE
@HVE 3 года назад
Make sure that you are in the right directory.
@shridevisandiramourty7167
@shridevisandiramourty7167 3 года назад
Yes, I'm exactly in the same directory than the GUI but still not able to choose other type of files than Matlab files...
@HVE
@HVE 3 года назад
@@shridevisandiramourty7167 From MATLAB main interface try to import some data, using the import data button. Select all files and see if you can see the text files in your directory.
@shridevisandiramourty7167
@shridevisandiramourty7167 3 года назад
@@HVE thanks a lot for your quick response. Finally I used uigetfile('*.csv') and that works for me because I only need csv files as input.
@mimiiichen
@mimiiichen 3 года назад
very helpful!!
@abidemna4950
@abidemna4950 3 года назад
Thank you so much 😊, how can I insert data from Matlab to Matlab app designer?!
Далее
App Design in MATLAB
54:04
Просмотров 20 тыс.
Passing Values in AppDesigner in Matlab
9:12
Просмотров 11 тыс.
App Designer for Beginners | @MATLABHelper Blog
11:33
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,6 млн
Building MATLAB Apps with App Designer
28:31
Просмотров 98 тыс.