Does matlab web app have different paths?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB Web App Server finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!