
PPPH tool Run Error
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I am not able to rum PPPH tool on matlab r2018. The error is mentioned below.
Error using matlab.ui.control.internal.model.mixin.IconableComponent/set.Icon (line 54)
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
Error in PPPH/createComponents (line 1330)
app.ObservationButton.Icon = 'icon-folder-128.png';
Error in PPPH (line 2538)
createComponents(app)
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: While loading an object of class 'matlab.ui.control.Button':
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
> In appdesigner.internal.serialization.FileReader/readAppDesignerData (line 159)
In appdesigner.internal.serialization.loader.Version2Loader/load (line 19)
In appdesigner.internal.serialization.MLAPPDeserializer/getAppData (line 38)
In appdesigner.internal.application.loadApp (line 21)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Error using matlab.ui.control.internal.model.mixin.IconableComponent/set.Icon (line 54)
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
Error in PPPH/createComponents (line 1330)
app.ObservationButton.Icon = 'icon-folder-128.png';
Error in PPPH (line 2538)
createComponents(app)
Error using matlab.ui.control.internal.model.mixin.IconableComponent/set.Icon (line 54)
You have specified a file that cannot be found or is not an image.
Specify a file name that is on the MATLAB path, or use a full or relative path.
Error in PPPH/createComponents (line 1330)
app.ObservationButton.Icon = 'icon-folder-128.png';
Error in PPPH (line 2538)
createComponents(app)
Property assignment is not allowed when the object is empty. Use subscripted assignment to create an
array element.
Error in PPPH/ClockDropDownValueChanged (line 284)
app.ClockFileIntervalEditField.Enable = 'off';
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 352)
Error while evaluating DropDown PrivateValueChangedFcn.
0 个评论
采纳的回答
fangfang Sun
2019-8-19
Hi, the error is because three icons are in the "Icons" folder, you need to copy them out to the matlab main folder, i.e, with PPPH.mlapp. Good Luck!
But now I meet another question: using the example data, when press the import button,an error occurs. If you solve it, please contact me, thanks!

5 个评论
更多回答(2 个)
Yazgi Nur Sayin
2020-9-16
When adding the folder containing PPPH source codes to the MATLAB search path, you should use "Add with Subfolders".
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
