How to connect PIC18f4455-microcontroller to matlab/simulink?

vladstoica90
@vladstoica90-5qsix1 โ€ข Oct 22, 2024

hello!
I need to connect one microcontroller pic18f4455 to a simulnk model and i don't know how.
what my microcontroller have to do:
1. send a value to my simulink model
2. receive a value from my simulink model.
my simulink model is a model of a dc motor connected to a fuzzy system.
i need to use this microcontroller for sending values to control my dc motor.
Help me please!!!!

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Harshad Italiya

    @harshad-ukH5ww • Jun 3, 2013

    vladstoica90hello!
    I need to connect one microcontroller pic18f4455 to a simulnk model and i don't know how.
    what my microcontroller have to do:
    1. send a value to my simulink model
    2. receive a value from my simulink model.
    my simulink model is a model of a dc motor connected to a fuzzy system.
    i need to use this microcontroller for sending values to control my dc motor.
    Help me please!!!!

    I am not 100% sure but you can interface your microcontroller with COM port of your PC and MATLAB will allow you to access COM port.

  • pinank

    @pinank-6TUo5O • Jun 13, 2013

    Harshad ItaliyaI am not 100% sure but you can interface your microcontroller with COM port of your PC and MATLAB will allow you to access COM port.

    sir I want to get values from my COM port and display a real time dynamic graph...how can i do it?

  • Harshad Italiya

    @harshad-ukH5ww • Jun 13, 2013

    pinanksir I want to get values from my COM port and display a real time dynamic graph...how can i do it?

    As I said I am not sure about that. You can get some info from Simulink Help.