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

1 visualización (últimos 30 días)
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 comentarios
Nagarajan G
Nagarajan G el 20 de Mayo de 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 el 20 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by