Cannot run the compiled application

Hi,
I have a matlab code to analyze signal process. After I compiled the code by using application compiler, I faced an issue like below when I run the compiled .exe file.
  • "Invalid file identifier. Use fopen to generate a valid file identifier. Error in => main.m at line 194"
The wired thing is that I do not use fopen function and any files at line 194.
Could you suggest some ways to solve this issue?
Thank you

1 个评论

The problem can occur if you invoke any function that attempts to open a file on your behalf, including readmatrix() or readtable() or fileread() or edfread() or geotiffread().. and so on.

请先登录,再进行评论。

 采纳的回答

Mani
Mani 2024-7-1
Identify functions called around line 194 and check their contents for file operations.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by