Cannot run the compiled application
3 views (last 30 days)
Show older comments
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
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.
Accepted Answer
Mani
on 1 Jul 2024
Identify functions called around line 194 and check their contents for file operations.
0 Comments
More Answers (0)
See Also
Categories
Find more on Troubleshooting in MATLAB Compiler SDK 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!