Error while updating simulink model to a new Matlab version

조회 수: 6 (최근 30일)
Frederico
Frederico 2011년 11월 1일
Hi guys,
I recently installed Matlab R2011b and I'm getting some error while trying to run my simulink program that I built in Matlab R2008b.
I'm going to transcribe the errors that appeared to me to see if with this info someone can help me. First while the simulation was running I got.
Make Error:
Making simulation target "FST7DOF_sfun", ... 'FST7DOF_sfun.bat' is not recognized as an internal or external command, operable program or batch file.
---------------
Also I got a prompt saying to use Model Advisor for upgrading my simulation file,wich I did.There I have errors for:
Check model,libraries,etc. - "Action: Replace all blocks for new ones..." ( I have plenty,so if there's any way I could go round this...)
Check for proper bus usage. - "Identify any Mux block used as a bus creator and any bus signal treated as a vector." (I don't understand this)
Check for consistency of initialization paramaters for output and merge blocks: "Action:Migrate all Outport block and model settings to the simplified initialization mode. As a result, in the Data Validity Diagnostics pane of Configuration Parameters dialog, the 'Underspecified initialization detection' option is set to 'Simplified'. Before proceeding, ensure that the model and all relevant library files are writable and have no unsaved changes."
I have a fourth error in the Model Advisor in Frequency Response Estimation saying: "Identify time-varying source blocks connected to linearization output points currently marked on the model. Click "Help" button for more information on how to get/set linearization output points and how to disable the identified blocks temporarily during frequency response estimation."
Thanks in advance.
  댓글 수: 3
Kaustubha Govind
Kaustubha Govind 2011년 11월 2일
Please try running "mex -setup" as suggested on the page Walter recommended and post back if you still have issues. It is likely that the old MEX options file (from R2008b) is being picked up by R2011b, causing issues. Running "mex -setup" regenerates the MEX options file.
Frederico
Frederico 2011년 11월 2일
Indeed...by running mex -setup and choosing the installed compilers it is now working.
Thanks for your help guys!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by