pplane安装及使用方法
pplane由John Poliking编写,推荐在matlab2018b上使用,但其他版本的matlab使用会用一些问题,下面会给出一些解决方法
pplane安装地址:Pplane - File Exchange - MATLAB Central
在其他版本的Matlab中会提示如下图所示的错误
错误使用 uimenu
第一个参数必须为有效的父级,例如图窗或面板对象。
出错 pplane8 (第 907 行)
meload = uimenu(mefile,'label','Load a system ...',...
在相应的Discussion中有解决办法:
需要将原有的:
mesave = uimenu(mefile,'label','Save the current system ...',...
在melife前添加“Parent”,即
mesave = uimenu("Parent",mefile,'label','Save the current system ...',...
类似的,你可以每改完一个后,运行一下,看哪里报错就在哪里添加:
"mesave", "meloadg", "mesaveg", "medelg", "melddg", "merevert", "meproceed", "merestart", "mequit", "meclrf", "meclrp", "meclrwind", "meclrall"等前都需要添加,之后在运行就可以了
关于pplane软件的拓展,可以参考github: