- Open Application Compiler. To find this: On the MATLAB Apps tab, on the far right of the Apps section, click the arrow. In Application Deployment, click Application Compiler.
- In Files required for your application to run, manually add the folder <MATLAB ROOT>\toolbox\images\imdata into the list. You will also need to add any other files required for you application to run.
- Re-compile the application, and test if it executes without issue.
Compiled application unable to find defaultBRISQUEModel.mat
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 25 de En. de 2022
Respondida: MathWorks Support Team
el 27 de En. de 2022
I appear to be missing some function in the Image Processing Toolbox. When I run the compiled application, I get the following error:
Unable to find file or directory 'C:\Program Files\MATLAB\R2021b\mcr\toolbox\images\imdata\defaultBRISQUEModel.mat'
However, I opened up the directory indicated by the error message and the file is there. How can I resolve this issue?
Respuesta aceptada
MathWorks Support Team
el 25 de En. de 2022
The "brisque" function requires this built-in MAT file, and this error message indicates that the compiled application cannot find this file.
One possible way to work around this issue is to manually add the Image Processing Toolbox into the dependencies of your project:
If this does not work, you could just ship the .mat file separately and install it in
C:\Program Files\MATLAB\R2021b\mcr\toolbox\images\imdata\defaultBRISQUEModel.mat
Another similar workaround would be to copy defaultBRISQUEModel.mat from
C:\Program Files\MATLAB\R2021b\toolbox\images\imdata\defaultBRISQUEModel.mat to
C:\Program Files\MATLAB\R2021b\mcr\toolbox\images\imdata\defaultBRISQUEModel.mat. This process would have to be repeated on every client of the standalone application to the MATLAB runtime (mcr) they are using.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Standalone Applications en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!