Azzera filtri
Azzera filtri

The 'STRING' input must be either a char row vector, a cell array of char row vectors, or a string array.

7 visualizzazioni (ultimi 30 giorni)
I am getting the error while dumping the simulink model in the dsp board. The 'STRING' input must be either a char row vector, a cell array of char row vectors, or a string array. I have been used simulink blocks but the error unable to find. Please suggest me what type of conditions this error willl appear and in which blocks it is possible to appear.
  4 Commenti
Peter O
Peter O il 27 Giu 2021
Mahesh,
If applicable, does this model run when the target is the PC and not the embedded system DSP? From the error it sounds like you have a block that is getting a bad input, either in the signal chain or in the input parameters. If the model also fails running on the PC as target you might get a better stack trace. Consider looking for places where you are manipulating any sort of text for display or using it in case switching. You can also turn on Show Datatypes on the View/Hide menu to see if there's a string spot getting a bad input.
mahesh reddy pundru
mahesh reddy pundru il 27 Giu 2021
Thank you for your replies, Lastly i found my mistake during hardware dump, somewhere I have sending data to workspace in scope. beacuse of that i have getting this error. I have sorted and saved in different file then it is running.

Accedi per commentare.

Risposte (0)

Community

Più risposte nel  Power Electronics Control

Categorie

Scopri di più su Hardware-in-the-Loop Simulation with Simulink Real-Time in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by