MATLAB - MATLAB Technical Computing Practice Test
MATLAB MATLAB String Operations and File I/O 2
What is the correct way to open a file for writing in MATLAB?
Select your answer
A
fid = fopen('file.txt', 'w')
B
fid = open('file.txt', 'write')
C
fid = fileopen('file.txt')
D
fopen('file.txt')
Hint