Does matlab web app have different paths?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB Web App Server dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!