How to change: values in an array and save states of a function in a MATLAB GUI (GUIDE)

조회 수: 1 (최근 30일)
Roel
Roel 2014년 8월 4일
댓글: Roel 2014년 8월 5일
I am currently working on a GUI to model the effects of low temperature on a PV array. The GUI (as made from the GUIDE) as of now takes in user inputs from text boxes in order to change some of the parameters of the PV modules (such as short circuit current and ideality factor).
The GUI will use a function I have written for calculating current (I) and voltage (V) and generate an IV curve depending on whatever parameters the user inputs. However, I want to the GUI to be able to first generate a general IV curve from a set of parameters that user inputs (which is what the GUI can do as of now). After this, I would like to user to select a cell or row of cells in the array, change the parameters for that single cell, and view its effect on the IV curve of the entire array. So the user would input cell(1,2) or cell(1:3,2) and be able to change the params for those cells only.
How would I be able to run the function multiple times and save the results from each change?
Thanks in advance!
  댓글 수: 3
Roel
Roel 2014년 8월 4일
편집: Roel 2014년 8월 4일
I have attached the script for the GUI I have up until now. I do have the user press a pushbutton to plot. The way I have the function do multiple cells in series of parallel is by replicating the matrices for current and voltage according to how many cells are in question. So I would want the user to be able to use the CalculationIVRsRsh(Isc, Voc, T, n, Rs, Rsh) function to generate a new column (or row) and replace one of the columns/rows in the replicated matrix array.
I don't know if I am making sense yet, let me know if you have any more questions to understand what I'm trying to do.
Roel
Roel 2014년 8월 5일
Is there any other information you guys would need?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by