PPPH tool Run Error

조회 수: 4 (최근 30일)
Sai charan Kothapalli
Sai charan Kothapalli 2019년 7월 10일
편집: Ahmed Lotfy 2021년 8월 31일
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.

채택된 답변

fangfang Sun
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!TIM图片20190819181657.png
  댓글 수: 5
Ahmed Lotfy
Ahmed Lotfy 2021년 8월 31일
편집: Ahmed Lotfy 2021년 8월 31일
Can i contact with you becuse i have same problem?
Ahmed Lotfy
Ahmed Lotfy 2021년 8월 31일
when i use "Add with Subfolders". Your problem is not solve.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Sai charan Kothapalli
Sai charan Kothapalli 2019년 8월 21일
Make sure you attach all the files. Check whether you attached sp3 and NAV file.

Yazgi Nur Sayin
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".

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by