Clear Filters
Clear Filters

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

2 views (last 30 days)
In the Simulink, Coudn't I use "a_ = NaN([1024,128],'single','gpuArray');" ???
  3 Comments
MINHOON KIM
MINHOON KIM on 6 Oct 2020
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.

Sign in to comment.

Answers (0)

Categories

Find more on Simulation in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!