From: 杨晨 <ych...@12...> - 2015-03-25 14:50:19
|
hi! I am a new JSBSim and Matlab SFunction user,i have download JSBSim_MATLAB_release and try to have it running. But when i initialize the model an error occur as shown below. I found it's very commom error a beginner will meet.Have you found a reason why this happened? Really look forward to receiving your reply!---------Error using JSBSimGUI>init_model_Callback (line 1850)Error while obtaining sizes from MEX S-function 'JSBSim_SFunction' in 'jsbsimgui_test/JSBSim S-Function'. Error in gui_mainfcn (line 96) feval(varargin{:}); Error in JSBSimGUI (line 42) gui_mainfcn(gui_State, varargin{:}); Error in @(hObject,eventdata)JSBSimGUI('init_model_Callback',hObject,eventdata,guidat a(hObject)) Caused by: Error using JSBSimGUI>init_model_Callback (line 1850) Invalid MEX-file 'C:\Users\Don\Documents\MATLAB\JSBSimSFunction\JSBSim_SFunction.mexw32': C:\Users\Don\Documents\MATLAB\JSBSimSFunction\JSBSim_SFunction.mexw32 is not a valid Win32 application. Error while evaluating uicontrol Callback---------------------Yang Chen |