Does matlab web app have different paths?
Mostrar comentarios más antiguos
Im using Matlab App Designer.
The problem is that if the app was run locally everything works fine. If its uploaded to the Matlab Web App Server it appears to not find files which are in a different folder. In the app, there is a button which starts the main.m. The main.m shoul start other functions/programms.
The Folder structure is something like this:
- app.mlapp
- main.m
- -Folder: m_files
- A_calculate.m
- B_review.m
- C_plot.m
- ...
I am defining paths like this:
addpath('.\_files'); % The folder name is used where the m files are stored
I am calling the functions like this:
A_calculate(arguments)
The Web app just seems to skip calling the function. No error, no logs in the web app log. If the mlapp is run locally it works perfectly fine.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB Web App Server en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!