Run a code for several values
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
venkat siddhartha rama
am 20 Aug. 2019
Kommentiert: venkat siddhartha rama
am 20 Aug. 2019
Hello Friends,
Is there any way to run the program with multiple variable inputs and get the multiple corresponding data outputs and save them to Excel.
Example:
(I declare Rows and Columns variable in begining of the program)
Rows=100;
Columns=100;
(When code is run obtain outputs of Price and Energy)
Price=X1
Energy=Y1
I need some way to change the values of Rows and Columns bt 50 Increments (100,150,200,250,300,350......) to obtain the corresponding values of Price and Energy(X1,X2,X3,X4......;Y1,Y2,Y3,Y4........)
I want these to be automatically changing,not manually entering the 50 increment values.
0 Kommentare
Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!