Jump to content
The simFlight Network Forums

WideFs and Matlab


Recommended Posts

I am trying to interface P3D and Matlab to create some control loops like phugoid control etc. I was thinking if the following idea would work 

    Run Matlab on a PC and P3D on another and then use LAN connection with wideFs  to exchange data 

 

Thanks in advance 

Dinesh 

Link to comment
Share on other sites

Hi Dinesh,

1 hour ago, Dinesh said:

Run Matlab on a PC and P3D on another and then use LAN connection with wideFs  to exchange data 

Well, if you can run Matlab on the same PC as P3D and 'connect' using FSUIPC, then WideFS would allow you to do the same running Matlab on a second PC.

I can't advise further as I don't know Matlab - how does it interface/connect to FSUIPC? If you are writing your own client, it may be better to use the SimConnect or PDK interfaces directly to P3D. 

John

Link to comment
Share on other sites

presently I couldn't find any software that connects p3d and Matlab. Is there a possibility of connecting p3d and Matlab using fsuipc?  There is an option of connecting xplane with Matlab. What xplane does is send UDP packets of data to a specified IP address and Matlab can be the receiving IP and hence data can get transferred. This got me thinking if something similar to this is possible with p3d and Matlab.

Link to comment
Share on other sites

16 hours ago, Dinesh said:

presently I couldn't find any software that connects p3d and Matlab. Is there a possibility of connecting p3d and Matlab using fsuipc?  There is an option of connecting xplane with Matlab. What xplane does is send UDP packets of data to a specified IP address and Matlab can be the receiving IP and hence data can get transferred. This got me thinking if something similar to this is possible with p3d and Matlab.

It is possible, but only with some programming. FSUIPC with WideFS does this sort of thing, but then you'd need to write a program to interface to FSUIPC. If you wanted a more direct method you'd need to write a program running alongside P3D to use Simconnect to extract the data you need and send it in whatever format you are expecting.

I don't think there are any features actually built into P3D in the way you imply is provided directly in X-Plane (with no add-on like XPUIPC?).Possibly with P3D you could adapt to their multi-PC network linking system. it isn't really an area I've ever invetstigated.

You'd be better off asking Lockheed Martin over in their Support Forum -- https://www.prepar3d.com/.

Pete

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.