PPPH tool Run Error

4 visualizaciones (últimos 30 días)
Sai charan Kothapalli
Sai charan Kothapalli el 10 de Jul. de 2019
Editada: Ahmed Lotfy el 31 de Ag. de 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.

Respuesta aceptada

fangfang Sun
fangfang Sun el 19 de Ag. de 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 comentarios
Ahmed Lotfy
Ahmed Lotfy el 31 de Ag. de 2021
Editada: Ahmed Lotfy el 31 de Ag. de 2021
Can i contact with you becuse i have same problem?
Ahmed Lotfy
Ahmed Lotfy el 31 de Ag. de 2021
when i use "Add with Subfolders". Your problem is not solve.

Iniciar sesión para comentar.

Más respuestas (2)

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

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

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by