Filter löschen
Filter löschen

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

6 Ansichten (letzte 30 Tage)
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 Kommentare
Nagarajan G
Nagarajan G am 20 Mai 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 am 20 Mai 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by