Corrupted file when storing signal values from Simulink using the "to file" block
3 次查看(过去 30 天)
显示 更早的评论
Hi everyone, I experience a tricky problem regarding the "to File" block when using a Simulink diagram in external mode. Regardless the output data type declared in the block dialog (time series or array), Simulink produces only a corrupted .mat file that causes a sudden crash when trying to open it. Further, it seems to be no way to fix it and making it reusable (solutions found in Matlab forum resulted ineffective). Have someone faced a similar issue and can help me solving this problem? I know I can turn to a "to workspace" block and save the data locally afterwards, but this way has show similar drawbacks and seem to be ineffective too. For the sake of clarity, I'm using Ubuntu 14.04 and Matlab R2014b, and Simulink runs in external mode with a fixed sample time. Thanks in advance
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!