![]() I see the correct values being read in, but then it experiences the error after all 3 values have been read. ![]() The input string does not contain data in the expected format). ![]() It used the "Scan from String" function, but I am receiving an error when I run it (Error 85: Scan failed. I found an example that seemed to be something similar to what I am doing. I have been struggling with extracting the data from the string and reassembling it into the array I desire. If I send the array data via "fprintf" I can send the exact values of the array, but as a string. I understand MatLab writes to UDP in binary if one uses the "fwrite" command and I can use a simple string to byte array conversion for that, but I want to retain the numerical value of each entry in the array. When I used Guide (back in MATLAB 6.5 or thereabouts), it just helped me create a (bare bones) layout you still need to design the GUI functionality (what buttons / windows display what, and when) and write all your callbacks (stuff that happens when you click, press a button, instrument melts down, etc.I am trying to send an array of values from MatLab to Labview via UDP. ![]() As I'm more of an EE than a computer science type, I'd suggest getting core functionality going (in terms of being able to achieve basic and reliable communications) through the control line first before making a GUI, but that's probably just me. ![]() a high-level DLL, or driver that accepts / outputs text, or some such). Regarding the meat and potatoes of your problem, you'll need to figure out how your hardware is controlled, and whether or not there's an abstracted way of dealing with it (i.e. In the future, you might want to ask questions like this in the Computer Science subforum (or better yet, Mathematical Software or Programming sub-sub-forums, but the distinctions get blurred there most of the time). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |