필터 지우기
필터 지우기

Running MATLAB on virtual machine for more memory?

조회 수: 10 (최근 30일)
Sophia
Sophia 2023년 7월 27일
편집: Chunru 2023년 7월 27일
I'm new to MATLAB (and frankly software in general) so I apologize if this is a stupid question. I am running some very time-consuming MATLAB scripts on my laptop and it keeps on running out of memory. I have access to a virtual machine but I'm not sure if it's possible to run my scripts through it, how I would access the output, if it would increase memory/speed, etc. and I'm just generally confused about how this works. Any help at all would be greatly appreciated!

답변 (1개)

Chunru
Chunru 2023년 7월 27일
편집: Chunru 2023년 7월 27일
I am running some very time-consuming MATLAB scripts on my laptop and it keeps on running out of memory.
==> You may want to consider optimizing your program for memory efficiency.
I have access to a virtual machine but I'm not sure if it's possible to run my scripts through it, how I would access the output, if it would increase memory/speed, etc. and I'm just generally confused about how this works. Any help at all would be greatly appreciated!
==> You can run MATLAB in VM, but it may make the program even slower (in the same host machine) since VM can introduce additional overhead. The issue of running out memory could be more serious since botg the host and VM in the same physical machine use the same pool of memory. You could access the output from the shared folder or networking between the host and VM.
To sum up, you should, generally, not expect to increase speed or memory by using VM.

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by