From: Agostino De M. <ago...@un...> - 2011-10-21 07:12:52
|
Alan, which version of Matlab are you using? Did you use the S-function (and the rest of all files) as-is? Please, do keep in mind that the latest version of JSBSim doesn't fit with the S-function code. When Brian and I implemented that code the JSBSim logic that propagates aircraft state variables used to be a little bit different. The current version of the S-function code should be revamped in order to work nicely with the recent modifications of JSBSim. Moreover, I had to compile the S-function with MS Visual Studio 2008. The VS2010 had problems with some headers of Matlab (mostly becaause of redefinitions of math functions). Agostino "Jon S. Berndt" <jon...@co...> ha scritto: > Alan, > > > > I don?t know. I know there are at least a few people who are > familiar with the use of JSBSim with Matlab. Agostino? James? > > > > Jon > > > > > > From: Alan Teeder [mailto:ajt...@v-...] > Sent: Thursday, October 20, 2011 3:49 PM > To: jsb...@li... > Subject: Re: [Jsbsim-matlab] Matlab Crash > > > > Is this list dead ? > > > > > > From: Alan Teeder <mailto:ajt...@v-...> > > Sent: Wednesday, October 12, 2011 7:56 PM > > To: jsb...@li... > > Subject: [Jsbsim-matlab] Matlab Crash > > > > When I press ?Initialize Model? , after loading jsbsimgui_test with > the default f16, Matlab crashes and exits with no error messages, > not even the standard Windows one. > > > > With Matlab debug set to halt on all errors I get this is the > command window:- > > > > ??? Reference to non-existent field 'fv_trim_enable_value'. > > > > Error in ==> jsbsimgui_sim>do_trim at 3728 > > JSBSimTrim.FlightViz = str2double(handles.fv_trim_enable_value); > > > > Error in ==> jsbsimgui_sim>init_model_Callback at 3476 > > do_trim(hObject, handles); > > > > Error in ==> gui_mainfcn at 96 > > feval(varargin{:}); > > > > Error in ==> jsbsimgui_sim at 42 > > gui_mainfcn(gui_State, varargin{:}); > > > > Error in ==> > > @(hObject,eventdata)JSBSimGUI_sim('init_model_Callback',hObject,eventdata,guidata(hObject)) > > > > > > 3728 JSBSimTrim.FlightViz = str2double(handles.fv_trim_enable_value); > > K>> > > > > I am using Matlab 10a , Windows 7 (64bit) and MSVC 2008. > > > > Does anybody have any ideas on how to resolve this? > > > > Alan > > > > > > > > _____ > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > > _____ > > _______________________________________________ > Jsbsim-matlab mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-matlab > > ------------------------------------------------------- Agostino De Marco, PhD Assistant Professor Università degli Studi di Napoli Federico II / University of Naples Federico II / Dipartimento di Ingegneria Aerospaziale / Department of Aerospace Engineering / via Claudio 21, 80125 Napoli - Italy Tel.: +39 0817683323 Fax: +39 0817683622 Email: ago...@un... Web 1: www.dias.unina.it/adag Web 2: www.eolpowergroup.com ------------------------------------------------------- |