title: Equivalent of Excel Solver in Matlab?
body: <p>EDIT: I have edited my question to be more specific as horchler's comment helped get me started.</p>
  
  <p>I have data in excel which I am using to make an optimization analysis. In excel, using the solver, it's easy:  I can choose a cell with a formula then pick the cells i need to change and add constraints and then minimize.  But, I'm lost when it comes to Matlab's optimization process.  The documentation appears to only provide examples of optimization problems that analyze simple one-line functions like f(x) = -(x1)(x2)(x3).  I am unable to figure out how to apply these examples in my own case.</p>
  
  <p>The function I am trying to maximize is relatively complex.  As inputs, it takes on a number of scalar variables as well as multiple structures that contain data that is used in the calculations.</p>
  
  <p>My issue is that I am trying to maximize the value of the function by altering three scalar variables, while leaving the other input variables constant (since they are data).  More specifically, my function looks something like:</p>
  
  <pre><code>function x = NameOfFunction (w1, w2, w3, a, b, c, Structure1, Structure2, Structure3)
  </code></pre>
  
  <p>I would like to maximize x by changing only variables w1, w2, and w3.  In other words, I would like for Matlab to tell me the values of w1, w2, and w3 that maximize x, while leaving all the other variables alone.  Any insight is greatly appreciated.</p>