savedata

버전 1.1.0 (37.5 KB) 작성자: Giampiero Campa
Simulink block that stores data in memory and saves them to a file at the end of the simulation.
다운로드 수: 2.6K
업데이트 날짜: 2023/10/19

simulink-savedata-block

Simulink® block that stores data in memory and saves them to a file at the end of the simulation.

View simulink-savedata-block on File Exchange

Open in MATLAB Online

This block is similar to the "To File" original simulink block, except for the following points:

  1. It does not access the file system during the simulation, in fact it collects data in memory and saves them to file only when the simulation is over. This is important for real time systems, where normally access to the file system by processes running in real time has to be avoided.

  2. It can save any type of data instead of just doubles.

  3. It has a lot of flexibility in saving the data, different format and precisons can be selected form the block mask.

  4. When using the %d, %f or %e options, the file is an ASCII file that can be opened with any text editor as well as easily loaded into matlab or excel.

This code is derived from an original s-function written by G.Campa and S.Gururajan for simulink schemes running in real time under RTAI-Linux.

인용 양식

Giampiero Campa (2024). savedata (https://github.com/giampy1969/simulink-savedata-block/releases/tag/v1.1.0), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R11.1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0

See release notes for this release on GitHub: https://github.com/giampy1969/simulink-savedata-block/releases/tag/v1.1.0

1.0.0.0

Recompiled the s-function with matlab 7.1 so that everything works fine with newer versions requiring the .mexw32 extension. The .dll files is retained to the benefit users working with versions prior to 7.1, other users may delete it.

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.