Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I use a variable and its value from a .m file, in a gui?

조회 수: 1 (최근 30일)
Lala0099
Lala0099 2019년 4월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a .m file, where i calculate an array of variables. I would like to load these into my gui and plot them.
I tried to use txt fils, but could not load them as a table.
I tried to put them into excel file but the program says that the excel file is locked(opened) and cannot be edited...
"is not writable. It might be locked by another process."
I have not got a clue how to use these variables in my gui. I have never used gui before and i am not professional in matlab.
Could someone help me, please?
  댓글 수: 5
Lala0099
Lala0099 2019년 4월 14일
well basically I have several files in the same folder, running toogether when i run the main file.
They sort a test movement into 4 different groups depending on its features( classification, svm). Then there are certain features that I have to plot in a gui eg peak numbers , whih ci know how to calculate in the main .m file, but do not know how to pass the calculated value to the gui or app designer.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by