Simulink RT - Lookup-Table for Strings
Mostrar comentarios más antiguos
Hey folks,
I´m actually trying to communicate with some industrial devices via TCP. The protocol is ASCII-based SCPI command structure. For that application I would like to create a lookup-table which takes a numeric value as an input/index and replies with the corresponding string (for example '*IDN?). Since strings are kind of accepted in Simulink but aren´t well handable, do you have any hints how this can be done? The solution needs to be code-generatable since I use a Speedgoat-machine on which the program runs.
Best
Jonathan
PS: Since I work on a campus license, I can use any available toolbox.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Target Computer Setup en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!