![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Matlab实操过程问题总结
控制算法验证中遇到的matlab问题
阿小菊
Ph.D. from SJTU.
Control theory, autonomous marine vehicles, nonlinear control, trajectory tracking, USV, UUV, cooperative control.
展开
-
Matlab画图中遇见的问题
1. 使用plot3命令画三维图时,出现保存以后虚线显示为实线的问题:解决方案:1.修改Axes.Sortmethod=childorder2.使用export_fig filname.eps2. Fig导出为eps图像后发现eps文件较小,显示不清晰:解决方案:选择自定义渲染,数值选择600...原创 2020-09-22 15:53:42 · 1786 阅读 · 5 评论 -
Yalmip求解过程中非线性约束报错
Yalmip求解过程中非线性约束报错问题:在利用Yalmip求解MPC问题中,约束为非线性。运行时报错You hav NaNs in your constraints!根据Yalmip官网的说法Assigning sdpvar object to a doubleA common case is that a user defined a double, and then tries to insert an sdpvar object at some location using inde原创 2020-06-02 17:24:32 · 13735 阅读 · 9 评论 -
Matlab:为什么文件明明在搜索路径中,Matlab却说找不到呢?
Matlab:为什么文件明明在搜索路径中,Matlab却说找不到呢?你应该是把文件放在matlabroot/toolbox路径下了吧,如果是这样,这个问题嘛,就是由于Matlab为了提高启动和运行速度所采取的一个优化措施有关。Matlab把toolbox下的函数都cache了一下,只需要更新一下toolboxcache就可以了。方法:Select File > Preferences > General.The General Preferences pane is displayed.转载 2020-06-01 15:49:08 · 6598 阅读 · 1 评论