#1
|
|||
|
|||
Vizard and Matlab
Hi, I am trying to send a packet from matlab simulink model to vizard using UDP protocol.
Vizard code is: import viz import viznet viz.go() myNetwork=viz.addNetwork('192.168.1.2') def onNetwork(e): if isinstance(e,viz.RawNetworkEvent): print repr(e.raw_data) viz.callback(viz.NETWORK_EVENT,onNetwork) and from simulink I am sending value 7 on port 4950. I am getting output like this: '\x00\x00\x00\x00\x00\x00\x1c@' '\x00\x00\x00\x00\x00\x00\x1c@' '\x00\x00\x00\x00\x00\x00\x1c@' '\x00\x00\x00\x00\x00\x00\x1c@' '\x00\x00\x00\x00\x00\x00\x1c@' '\x00\x00\x00\x00\x00\x00\x1c@' What is problem exactly! Thanks |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizard Matlab interface - no data printing | shall6 | Vizard | 7 | 03-12-2015 09:55 AM |
Iinterface between MATLAB and Vizard | suraj | Vizard | 7 | 07-17-2012 09:02 AM |
MATLAB and vizard | xingtzu | Vizard | 1 | 01-15-2008 10:25 AM |
Matlab and Vizard | brystewa | Vizard | 1 | 09-18-2006 03:11 PM |
MATLAB and Vizard | eagleman | Vizard | 4 | 06-10-2005 11:42 AM |