Why cannot I use magshape? I got some error.
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi.
I'm currently trying to tune weight function for control system using magshape. Some textbooks such as "LMI control toolbox" written by Pascal Gahinet et al describe the way of using magshape. The first step is to set my filter in Filter names (Please see an attached photo). However, if I put the pre-defined filter Wt, the error message like the following is thrown.
Unrecognized function or variable 'HDL_filt'.
Error while evaluating UIControl Callback.
Moreover, when I click on the grid graph, the another error is thrown.
Unrecognized function or variable 'HDL_filt'.
Error while evaluating Figure WindowButtonDownFcn.
Please tell me how to solve this problem. Thanks in advance.
(This is my first question online, I am sorry if It was the inapropriate way to ask question.
0 comentarios
Respuestas (1)
Image Analyst
el 2 de En. de 2022
Search your code for "WindowButtonDownFcn". In there, there will be a call or reference to HDL_filt. If that is a function in your toolbox that you think it should have found, then the toolbox is not on the path and use the "Set path" button on the home tab of the tool ribbon to add that toolbox's path to the path. Be sure you click "Save" button after you add it.
If it's a variable then you need to get that HDL_filt variable inside your WindowButtonDownFcn function. So see the FAQ:
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!