Clear Filters
Clear Filters

Cannot run the compiled application

4 views (last 30 days)
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 Comment
Walter Roberson
Walter Roberson on 2 Jul 2024
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.

Sign in to comment.

Accepted Answer

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

More Answers (0)

Categories

Find more on ThingSpeak in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!