createRAMDisk(name, diskSize)

Create a virtual disk in RAM for Mac OS X

You are now following this Submission

create a Virtual drive in RAM to benefit from high writing and reading speeds
warning: all data will be erased on reboot
Works only for Mac OS X users
2 Inputs:
name: name of the virtual disk that will be created
diskSize : size of the disk that will be created, in Go
2 Outputs: returns the system response as "status" and "result"

Cite As

Ambroise (2026). createRAMDisk(name, diskSize) (https://uk.mathworks.com/matlabcentral/fileexchange/48385-createramdisk-name-disksize), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0