Error running Matlab code in java intellij

4 ビュー (過去 30 日間)
Tino
Tino 2019 年 7 月 22 日
回答済み: Sahithi Kanumarlapudi 2019 年 8 月 7 日
Hi
Please cann someone help me with this problem
I am trying to run my matlab code in java intellij after packaging it.
I am getting the error below when I try to search for file and load it.
Error using load
Unable to read file 'second1.csv'. No such file or directory.
Error in ido (line 10)
Exception caught: com.mathworks.toolbox.javabuilder.MWException: Unable to read file 'second1.csv'. No such file or directory.
it runs well in the matlab code though.
What do I need to do to rectify this issue
Thanks in advance
Tino

回答 (1 件)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2019 年 8 月 7 日
In order to open a file in ‘intellij’, the folder in which the file is present should be loaded in the project on which you are working.
This can be done by
File->New->Module
Then from the pop-up select the folder in which the file is present and click on finish.

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by