File access from s-function
1 view (last 30 days)
Show older comments
Is it possible use file functions from a s-function on a windows PC?
I would like to store and read array information on the PC harddive.
I have attempted to use standard fopen function inside the .cpp file but the matlab enviroment crashes.
0 Comments
Answers (1)
Piyush Patil
on 5 Oct 2023
Hello,
As per my understanding, you want to perform file operations like reading a file from S-Function.
To read data from a text file, you can write your own S-Function.
Please check the following MATLAB Answer which answers the similar question:
I hope this resolves the issue you are facing.
See Also
Categories
Find more on String Parsing 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!