How can I save data in Simulink realtime model using coder.ceval() for fwrite?

조회 수: 2 (최근 30일)
Flavio
Flavio 2015년 8월 5일
답변: Akshat Dalal 2025년 3월 2일
Hi all,
I am using a beaglebone platform interfaced with simulink for a real time application.
I have data from sensors and I want to store them on a .txt file (or better in a .mat file). I am using fwrite but it is not supported by code generator. I have seen that I can use coder.extrinsic but it does not work, or coder.ceval() but it does not write any file even if the system can compile.
Do you know how to use coder.ceval function?

답변 (1개)

Akshat Dalal
Akshat Dalal 2025년 3월 2일

카테고리

Help CenterFile Exchange에서 Run-Time Parameters에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by