@Matt J ..thanks once again for your time... though ,, i have not found yet 100% success from your comment but it is leading me towards an acceptable solution of my problem....therefore, i am accepting your answer as it has given me a good lead....
Not enough input arguments when i call fmincon constraint function with multiple input parameters to pass into
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
muhammad ilyas khattak khattak
el 16 de Mayo de 2021
Editada: muhammad ilyas khattak khattak
el 16 de Mayo de 2021
Not enough input arguments when i call fmincon constraint function with multiple input parameters to pass into.....attached snapshot of the error message i recieve and .m script file .....
1 comentario
muhammad ilyas khattak khattak
el 16 de Mayo de 2021
Editada: muhammad ilyas khattak khattak
el 16 de Mayo de 2021
Respuesta aceptada
Matt J
el 16 de Mayo de 2021
The constraint and objective functions should have one input argument. If you have N unknowns, they should be passed in as an N-vector, not as N separate arguments.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!