필터 지우기
필터 지우기

Is there any way to monitor the memory usage of a specific software using MATLAB?

조회 수: 10 (최근 30일)
In my code, I use actxserver to run MS Excel and in MS Excel, there is a VBA code which runs another software named Maxsurf Modeler. Is it possible to monitor the memory usage of software Maxsurf Modeler via MATLAB?

답변 (1개)

Walter Roberson
Walter Roberson 2022년 9월 13일
If you start a process using the .NET control System.Diagnostics.Process then the WorkingSet property should return the amount of memory being used for the process; see https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.workingset64?view=net-6.0

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by