Im a Student doing my undergraduation in Instrumentation and Control Engineering .Im recently developing a smart sensor using your toolbox.
I did build a simple smart sensor but it failed to compile it gave me the following error .
Code: Select all
Error building Real-Time Workshop target for block diagram 'smart_sensor'. MATLAB error message:
Error using ==> rtwgen
--> Error reported by S-function 'dsPIC_UART_TX_Labview_Matlab' in 'smart_sensor/TX Output Multiplexed for Matlab // Labview':
Invalid input or output port data type.
--> An error occurred while propagating data type 'double' from 'smart_sensor/Add', output port 1.
please also tell me what is the error that i did .
i have attached the model to this thread