cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743VIT6 and Matlab XCP via TCP/IP

khanhcong861989
Associate III

dear all!

i'm trying to set up model run external with matlab via TCP/IP. when i build it have some issue, i don't how to config. i build model on Matlab 2024b and STM32CubeMX 6.4. can you share me how to set up step by step.

5 REPLIES 5
Andrew Neil
Super User

Matlab is an independent 3rd-party product - nothing to do with ST - so you need to go to Mathworks for support with it:

https://uk.mathworks.com/help/?s_tid=nav_help_doc

https://uk.mathworks.com/support/contact_us.html?s_tid=hp_ff_s_support

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
khanhcong861989
Associate III

Hi!

can you help to check file IOC, does it correct.

You haven't given any details of your hardware - so impossible to check if it's "correct" for that hardware.

Please See:  How to write your question to maximize your chances to find a solution.

 

I would suggest that you start by getting a working TCP/IP project in STM32CubeIDE before adding the extra complications of Matlab.

CubeIDE will have examples for ST boards, and there are several Knowledge Base articles:

https://community.st.com/t5/forums/searchpage/tab/message?filter=includeTkbs&q=ethernet%20stm32H7&include_tkbs=true&collapse_discussion=true

 

Or check to see if Mathworks have a ready-to-go example for your hardware...

You can get Mathworks to help you:

https://uk.mathworks.com/services/consulting.html?s_tid=hp_ff_s_consulting

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

i share you my design

I would strongly suggest that you start with a standard example on an ST board.

Get that working first, and then use that as the basis for your own design. 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.