How do I open a NULL file on Windows in R2013b?

5 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Oct 2013
To open a NULL file using MATLAB R2013b on Windows, execute the following command:
fid = fopen('NUL ');
Please note that there is now a space between the "L" and the terminating apostrophe.
Prior to MATLAB R2013b, the syntax for opening a NULL file on Windows was:
fid = fopen('NUL:');

More Answers (0)

Categories

Find more on MATLAB Code Analysis in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!