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

1 view (last 30 days)
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 Comments
Nagarajan G
Nagarajan G on 20 May 2020
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 on 20 May 2020
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.

Sign in to comment.

Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!