Simulink SDI interface error (safeTransaction)

Hi,
I am in trouble with the SDI interface : I aborted Matlab while it was saving a SDI session because it was not responding/slow.
I restarted Matlab and started a simulation with streaming enabled (I checked model configuration and streaming logo over my signals). At the end of the simulation I started the SDI interface which was empty...
I got the following error :
Error using Simulink.sdi.Engine/safeTransaction An internal error has occurred. Restart MATLAB before proceeding. If this problem persists, please contact MathWorks.
Error in Simulink.sdi.models.ImportDialog/updateRepository
Error in Simulink.sdi.controllers.ImportDialog/transferScreenToData
Error in Simulink.sdi.controllers.ImportDialog/cb_OKButton
Error in Simulink.sdi.controllers.ImportDialog>@(arg)cb_OKButton(this,arg)
Error in Simulink.sdi.controllers.Dispatcher/cb_OnNewMessage
Error in Simulink.sdi.controllers.Dispatcher>@(arg)cb_OnNewMessage(this,arg)
Error in message.internal.executeCallback
I restarted again Matlab and launched directly the SDI interface. I tried to load some runs which I previously saved but I am still getting this error.
I am working with Matlab R2015b.
Thanks for your help,
Benjamin

댓글 수: 3

Problem solved by MathWorks support, workaround was :
_ 1. Run the following command in MATLAB:
>> tempdir
>> Simulink.sdi.getSource
2. Using Windows Explorer, navigate to the tempdir path listed in the result from Step 1
3. Close all instances of MATLAB. In the Windows Explorer window from Step 2, sort files by "Type"
4. Delete all files with the type "DMR"
5. Delete the file returned by the "Simulink.sdi.getSource" function if it was not deleted in Step 4
6. Reopen MATLAB and the Simulation Data Inspector. All Prior Session Data should be removed._
I had also a issue with a crashing Matlab/Simulink because of prior data in my Simulation Data Inspector which I was not able to remove from Matlab. Also not with the following command.
Simulink.sdi.clear
But deleting all my DMR-files from my temp direction did work.
Thanks!
TAB
TAB 2018년 5월 4일
Benjamin Alvarez thanks for posting solution here.
I had same problem. It was solved with the steps you mentioned.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Naming Conventions에 대해 자세히 알아보기

제품

태그

질문:

2016년 1월 4일

댓글:

TAB
2018년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by