Rank: 3143 based on 12 downloads (last 30 days) and 1 file submitted
photo

Brian Mills

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Brian
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Mar 2010 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills aerospace, control design, simulation, simulink 12 12
  • 5.0
5.0 | 1 rating
Comments and Ratings by Brian View all
Updated File Comments Rating
09 Nov 2010 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills

Hi,

 The project has progressed quite a bit since I last updated this file posting. I recommend you download the latest project snapshot from this link (if I am allowed to do that): http://dl.dropbox.com/u/5284957/JSBSim_MATLAB_release.zip
This download has everything you need to get it working. Sometime soon (time allowing) I plan to post this new version here on the Mathworks site.

23 Nov 2009 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills

Gernot,

I have tried to do some testing to duplicate your problem and it looks like it may be some issue with the mex file (on your system.) It surprised me that a mex file error would occurr when you initialized the model.

Let me recompile the mex file and have you try it. I can email it to you.

20 Nov 2009 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills

Gernot,

So the error occurrs when you "push" the "Initialize Model Parameters" button? If that is the case, then it is not the mex function. If the error throws when you try to run the model, then perhaps it could be the mex. Could you clarify for me?

BTW, your path(s) look correct.

Sorry that you are having trouble with it. Please be patient and I will try my best to get you up and running.

Thanks for downloading the SFunction!

19 Nov 2009 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills

Gernot,

1) The "no models (not yet working)" message in the AC model selection pane is because that function has not yet been completed. You can however type in the model names in the "AC _Name" text box.
2) You must download JSBSim seperately as in my instructions and place the JSBSim folder in exactly the location specified, otherwise, you will not have any aircraft files to load (AC model files are in the JSBSim download.)

Please first confirm that you have downloaded JSBSim and placed its folder in the JSBSimSFunction_GUI folder (the one that is populated with files) and then test and let me know the results. I compiled this version slightly differently (to run a bit faster,) so I am hoping that it is not the cause of the "Invalid MEX-file." Other users have successfully run my previously compiled versions with R2009a.

Regards,
Brian

Comments and Ratings on Brian's Files View all
Updated File Comment by Comments Rating
09 Nov 2010 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills Mills, Brian

Hi,

 The project has progressed quite a bit since I last updated this file posting. I recommend you download the latest project snapshot from this link (if I am allowed to do that): http://dl.dropbox.com/u/5284957/JSBSim_MATLAB_release.zip
This download has everything you need to get it working. Sometime soon (time allowing) I plan to post this new version here on the Mathworks site.

09 Nov 2010 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills Restrepo, Daniel

Hi im having trouble running the JSBsim s function program from my computer. I type jsbsimgui_start into my command window. I load the test file and initialize the GUI and i get several errors.
1) In JSBSimGUI>load_model_Callback at 115
2) In gui_mainfcn at 96
3) In JSBSimGUI at 42

Does anyone have any suggestions on how to fix this ...thank you

09 Nov 2010 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills Restrepo, Daniel

Hi Brian,
First thanks for uploading what seems to be a great program. Unfortunatly I ve been having issues using the software. I downloaded the JSBSim S functionGui 0.3 straight from this website and then extracted it. I then downloaded the JSBSim -1.0-rc2.tar.gz from the website given in the READ ME file. I extracted that renamed the JSBSIM-1.0 file to JSBSim and replaced the empty JSBSim folder in the S function folder with it. I then opened the JSBSimGui.fig and tried running it but it is giving me multiple errors in the matlab command window. It says error in gui_mainfcn at 96 and error in JSBSimGUI at 42. It also states that the errors are cuased by Error using ==>JSBSimGUI>init_model_Callback at 1777 Invalid MEX-file 'C:\Documents and Settings\td26704\Desktop\JSBSimGUI_SFunction\JSBSim_SFunction.mexw32' and
Error while obtaining sizes from MEX S-function 'JSBSim_SFunction' in 'jsbsimgui_test/JSBSim S-Function'

Do you have any suggestions on what my problem might be...
Thankyou
Daniel

21 Jan 2010 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills Gernot

1) The problem seems to vanish as soon as Visual C is installed. This is only my suspicion and not confirmed by Brian - just try it.

2) a simulink-block is missing (before a scope); I just removed it; afterwards, the model should run

Gernot

30 Dec 2009 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills Sammur, Andrew

Dear Brian,

I have tried to use your s-function but seem to be running into the same problem Gernot was referring to. I also tried to recompile the mex file but i am having a few problems with generating the JSBSimLib.lib and also with fdmExec->GetPropertyCatalog().

Do you have a work around for Gernot's problem?

Thanks

Andrew

Top Tags Applied by Brian
aerospace, control design, simulation, simulink
Files Tagged by Brian
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Mar 2010 JSBSim S-Function GUI 0.3 S-Function version of JSBSim 1.0 release candidate. Non-linear flight model for Simulink. Author: Brian Mills aerospace, control design, simulation, simulink 12 12
  • 5.0
5.0 | 1 rating

Contact us at files@mathworks.com