CrazyEngineers
  • How to connect PIC18f4455-microcontroller to matlab/simulink?

    Updated: Oct 22, 2024
    Views: 1.3K
    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!!!!
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Harshad Italiya

    MemberJun 3, 2013

    vladstoica90
    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!!!!
    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.
    Are you sure? This action cannot be undone.
    Cancel
  • pinank

    MemberJun 13, 2013

    Harshad Italiya
    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.
    sir I want to get values from my COM port and display a real time dynamic graph...how can i do it?
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberJun 13, 2013

    pinank
    sir 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.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register