2 Replies - 190 Views - Last Post: 16 April 2019 - 04:05 PM Rate Topic: ***-- 2 Votes

#1 Mscar1235   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-April 19

Having trouble making a matlab gui with app designer need help

Posted 16 April 2019 - 03:24 PM

I am attempting to make a march madness calculator using Matlab app designer as my final project in school and I am not succeeding in this task. I have multiple criteria for each team like defense, offense, coaching, etc..

each criteria is broken into 4 sections, for example offense, if a team scores 50-60 points per game on average they will be given a value of 1 for offense, if 61-70 a value of two and so on through 90.

then each criteria will be added for both teams and whichever team has the higher "score" wins

global x
if app.Seed1.Value==1-4
x=4;
elseif app.Seed1.Value==5-8
x=3;
elseif app.Seed1.Value==9-12
x=2;
elseif app.Seed1.Value==13-16
x=1;
end

I need this value of x to be able to be included in the final team's score calculation as well as the other criteria end values.

Is This A Good Question/Topic? 0
  • +

Replies To: Having trouble making a matlab gui with app designer need help

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15160
  • View blog
  • Posts: 60,694
  • Joined: 12-June 08

Re: Having trouble making a matlab gui with app designer need help

Posted 16 April 2019 - 04:01 PM

What is your question?
Was This Post Helpful? 0
  • +
  • -

#3 Mscar1235   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-April 19

Re: Having trouble making a matlab gui with app designer need help

Posted 16 April 2019 - 04:05 PM

View Postmodi123_1, on 16 April 2019 - 04:01 PM, said:

What is your question?

after all of the inputs are in, a button press callback needs too be coded. How do I incorporate the variables that have been defined, like the x above, to that final calculation callback?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1