From: Alan T. <ajt...@v-...> - 2011-10-21 08:17:00
|
Fotis Yes, I have tried that. However Matlab itself still crashes with no windows error report when I try to trim or linearize. I am loading up my XP virtual machine with VS2008 and Malab 2008b to see if that is any better. Thanks Alan -----Original Message----- From: Fotis P. Kopsaftopoulos Sent: Friday, October 21, 2011 8:39 AM To: jsb...@li... Subject: Re: [Jsbsim-matlab] Matlab Crash Are you using the flightviz representation? If yes, go to the corresponding folder flightviz in the main JSBSim folder, enter the private folder and add to the Matlab path the drawModel folder. By default, if you try to add the JSBSim folders to the Matlab path, the drawModel is not added as it it located inside a private folder. Hence, you have to add this specific folder manually, otherwise you get an error message. There is a number of people that I know that have encountered similar problems using the Matlab/Simulink version. As the popularity of JSBSim increases and many people (engineers, researchers, universities etc.) use Matlab/Simulink as their main software perhaps it is time for an update? What do you think? Best regards, Fotis Fotis P. Kopsaftopoulos Research Associate Stochastic Mechanical Systems& Automation (SMSA) Laboratory Mechanical Engineering& Aeronautics Department University of Patras, GR 26500, Patras, Greece Tel: (++30) 2610 96 94 96, Fax: (++30) 2610 96 94 92 E-mail: fk...@me... Web: http://www.smsa.upatras.gr On 21/10/2011 09:49 πμ, Agostino De Marco wrote: > 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 > ------------------------------------------------------- > > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Jsbsim-matlab mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-matlab > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Jsbsim-matlab mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsim-matlab |