
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
Ahmed Lotfy
2021년 8월 31일
편집: Ahmed Lotfy
2021년 8월 31일
Can i contact with you becuse i have same problem?
추가 답변 (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!
