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 Commento

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.

Accedi per commentare.

 Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by