The demo of hdlcoder_sobel_serial_eml.mdl
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
In the sobel_edge_eml of sobel_edge_hardware of hdlcoder_sobel_serial_eml.mdl, there are three inputs u, thresh and C in the function. However, just an u is connected with this block. And I find thresh = 157 and C = 100 in workspace. So how are the two values generated?
0 comentarios
Respuesta aceptada
  Kaustubha Govind
    
      
 el 16 de Mzo. de 2011
        I couldn't find this demo model in R2010b - did you download it off our website?
From what I can tell, it looks like the block in question is an Embedded MATLAB Fcn block with 'u' as input. The other inputs are actually parameters of the function (these are registered from the Ports and Data Manager of Embedded MATLAB). So, although they appear as inputs from the function prototype, they are not actually inputs to the block, but resolved from the workspace.
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

