In the Simulink, Coudn't I use "a_ = NaN([1024,​128],'sing​le','gpuAr​ray');" ?

1 回表示 (過去 30 日間)
MINHOON KIM
MINHOON KIM 2020 年 10 月 6 日
コメント済み: MINHOON KIM 2020 年 10 月 6 日
In the Simulink, Coudn't I use "a_ = NaN([1024,128],'single','gpuArray');" ???
  3 件のコメント
MINHOON KIM
MINHOON KIM 2020 年 10 月 6 日
Expression must be numeric. Found it to be char. Function 'MATLAB Function' (#36.216.224), line 7, column 21: "'single'" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of MATLAB function 'untitled/MATLAB Function'
Component:MATLAB Function | Category:Coder error
Simulink cannot determine sizes and/or types of the outputs for block 'untitled/MATLAB Function' due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.
Component:MATLAB Function | Category:Coder error
Simulink cannot determine sizes and/or types of the outputs for block 'untitled/MATLAB Function' due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.
MINHOON KIM
MINHOON KIM 2020 年 10 月 6 日
@Raymond Norris

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by