필터 지우기
필터 지우기

From excel sheet how to assign digital input for a particular channel using Mscripts .

조회 수: 2 (최근 30일)
From excel sheet how to assign digital input for a particular channel using Mscripts .
I am having (dynafusion system) ds4004 card with RTI processor. i am preparing model with help of Mscripts.
so i want to feed the i/o idetails through excel sheet.
i need a code for to generate one i/o function.
  댓글 수: 3
Nagarajan G
Nagarajan G 2020년 5월 20일
Hello David,
Thanks for your prompt response.
Actually i am creating simuink model with help of script/function by giving commands for respecive actions.
so i have to assign the i/o configuration based on my excel input.
yes i am generating code for DS4004 via dSPACE.
waiting for your feedback.
David Fink
David Fink 2020년 5월 20일
When are you looking to read excel input?
A. once when programmatically generating the Simulink model, and those values affect the model's construction
B. once when generating code from the Simulink model (and those same values are used as input when running the generated code)
C. as input when running the generated code
Based on your description, it sounds like (A), but I want to make sure.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by