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

1 次查看(过去 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 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by