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

조회 수: 4 (최근 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
mahesh reddy pundru 2021년 6월 27일
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 Community

카테고리

Help CenterFile Exchange에서 DSP Algorithm Acceleration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by