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 Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by