PPPH tool Run Error

5 visualizzazioni (ultimi 30 giorni)
Sai charan Kothapalli
Sai charan Kothapalli il 10 Lug 2019
Modificato: Ahmed Lotfy il 31 Ago 2021
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.

Risposta accettata

fangfang Sun
fangfang Sun il 19 Ago 2019
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 Commenti
Ahmed Lotfy
Ahmed Lotfy il 31 Ago 2021
Modificato: Ahmed Lotfy il 31 Ago 2021
Can i contact with you becuse i have same problem?
Ahmed Lotfy
Ahmed Lotfy il 31 Ago 2021
when i use "Add with Subfolders". Your problem is not solve.

Accedi per commentare.

Più risposte (2)

Sai charan Kothapalli
Sai charan Kothapalli il 21 Ago 2019
Make sure you attach all the files. Check whether you attached sp3 and NAV file.

Yazgi Nur Sayin
Yazgi Nur Sayin il 16 Set 2020
When adding the folder containing PPPH source codes to the MATLAB search path, you should use "Add with Subfolders".

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by