Where "job" (batchsim) is stored ?

조회 수: 3 (최근 30일)
skamajaya
skamajaya 2024년 12월 4일
댓글: skamajaya 2024년 12월 6일
i know DMR file for simulink sdi is stored in tempdir directory. where the job output (before using fetchOutput) is stored ?
after doing fetchOutput and saving the result, it produce 100 GB of .mat file, but somehow my tempdir is always empty.
is it possible to changes this directory ?

답변 (1개)

Shlok
Shlok 2024년 12월 5일
Hi skamajaya,
As I understand it, the DMR file is not being generated in the ‘tempdir’ directory after using ‘fetchOutput’. If the ‘tempdir’ is empty, it might be because the data is being stored in a different directory or directly in memory until you explicitly save it. To debug this, refer to the following steps:
  • Check whether the data is being stored in memory or disk with 'Simulink.sdi.getStorageMode()'
  • If the data is being stored in memory change it to be stored in disk using 'Simulink.sdi.setStorageMode("disk")'
  • If the data is being stored in being stored in disk, check its path through 'Simulink.sdi.getSource()'
  • Verify if the generated file is being deleted due to low disk space by usingSimulink.sdi.getDeleteRunsOnLowSpace()’
Once you identify the path where the data is stored, you can set your own path for storing data via 'Simulink.sdi.setStorageLocation()'.
You can refer to the following links to know more about various functions dealing with logged data:
  댓글 수: 1
skamajaya
skamajaya 2024년 12월 6일
my question is related to where simjob is stored temporarly. not related to simulink data inspector.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Run Multiple Simulations에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by