'From Workspace' block does not support importing matrices of type 'uint8'

I'm having some trouble using the 'From Workspace' block to output data of type 'uint8'. It seems like the block does not accept variables in the base workspace that are of type 'uint8'. One solution would be to use a data type conversion block, but I'd like to avoid this. 
How can I configure the 'From Workspace' block to output 'uint8'? 
 

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2017년 8월 22일

0 개 추천

This is mainly because the 'From Workspace' block can only import matrices that are 'Non-Complex' and of type 'Double'. 
I understand that you are unable to use the 'Data Type Conversion' block, but that would be the simplest workaround at this time.
I have notified our development team of the error you are encountering when trying to import 'uint8' data using the 'From Workspace' block and they will consider providing support for the same in a future release of MATLAB. 
 

추가 답변 (0개)

카테고리

제품

릴리스

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by