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

7 次查看(过去 30 天)
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 个评论
Peter O
Peter O 2021-6-27
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
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.

请先登录,再进行评论。

回答(0 个)

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Hardware-in-the-Loop Simulation with Simulink Real-Time 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by