I can read files from a relative path in the standalone desktop application, but I cannot read them in the web app on the web side. Is it a path issue?

2 ビュー (過去 30 日間)
bentian
bentian 2024 年 10 月 19 日
回答済み: Taylor 2024 年 10 月 22 日
  2 件のコメント
Stephen23
Stephen23 2024 年 10 月 19 日
What do you expect the current working directory of a web app to be?
埃博拉酱
埃博拉酱 2024 年 10 月 19 日
編集済み: 埃博拉酱 2024 年 10 月 19 日
使用cd命令查看当前目录是否符合你的预期。

サインインしてコメントする。

回答 (1 件)

Taylor
Taylor 2024 年 10 月 22 日
Yes, it is a path issue. The path of the compiled app is different than what you would expect in the desktop MATLAB application. See ctfroot for details.

カテゴリ

Help Center および File ExchangeMATLAB Web App Server についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by