Hello Lucas,
It seems you're encountering an issue where “musyn” hangs during the DG-step. To address this, you can try the following steps:
- Disable “MixedMU”: Since the “MixedMU” option could be related to the problem, try turning it off in your “musynOptions”:
opt = musynOptions('MixedMU', 'off', ...);
2. Increase “maxiter”: The default number of iterations may not suffice for convergence, especially in complex scenarios. Increase the “maxiter” value:
opt = musynOptions('maxiter', 10, ...); % Adjust the number as necessary
3. If you have access to a more powerful computing setup, consider running your code there to see if additional resources prevent the hang-up.
4. Ensure that your system model is as lean as necessary for accurate control design without unnecessary complexity.
5. Keep the “Display” option set to “full” to closely monitor the algorithm's progress and potentially identify the step where it stalls.
6. Ensure you're using the latest version of MATLAB and the Robust Control Toolbox, as updates can contain important fixes and improvements.
You can refer to the following documentation to know more about the “musynOptions” https://www.mathworks.com/help/robust/ref/musynoptions.html.