This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting MATLAB to read from C167

I am using the C167 with 4 IR sensors. They give an analogue output and i connected them to P5.0 of the C167.

I used the MEASURE program from the kit's CD and is able to see the voltage changes on the C167 thru the debugger. By pressing 'R' the entire list of recorded voltages get displayed on the screen.

However, i need these voltages to be stored somewhere in a text file, or to get MATLAB to read it.

Can it be done?

Really appreciate it if someone could help me.

Regards,
TH.

Parents
  • "What do I need to do in MATLAB then in order to read from the serial ports?"

    This is a forum for discussing Keil sotfware tools.
    As has already been explained to you, MATLAB is not a Keil software tool:

    "MATLAB ... has nothing to do with Keil tools at all.
    You will need to consult your MATLAB Manuals, visit the MATLAB support site, see if you can find a MATLAB user forum, etc, etc,..."

Reply
  • "What do I need to do in MATLAB then in order to read from the serial ports?"

    This is a forum for discussing Keil sotfware tools.
    As has already been explained to you, MATLAB is not a Keil software tool:

    "MATLAB ... has nothing to do with Keil tools at all.
    You will need to consult your MATLAB Manuals, visit the MATLAB support site, see if you can find a MATLAB user forum, etc, etc,..."

Children
No data