matlab2008报错,simulink的.mdl的文件在matlab2008a中打开报错,高手指点下
哈哈,不同版本字體的問(wèn)題。運(yùn)行下邊的命令:
bdclose all; set_param(0,'CharacterEncoding', 'ISO-8859-1')
如果不行再換一下字體。
可以參照一下命令的介紹,能夠使用聯(lián)機(jī)幫助,這是很關(guān)鍵的。
另外,不同的版本還會(huì)出現(xiàn)模型問(wèn)題,怎樣處理看下邊的資料。
看看這個(gè)很清楚的:
The psbupdate command converts models built with Version 2 blocks into the new Physical Modeling block diagram interface and library of SimPowerSystems 3.0. The conversion happens in three steps:
1.? ?? ???New powerlib blocks replace old powerlib2 blocks. The block ports are sometimes reordered.
2.? ?? ???Physical Modeling connection lines replace Simulink signal lines, if those lines connect the new Physical Modeling electrical terminal ports on the converted blocks.
1.? ?? ???Special JunctionPoint blocks are inserted at line branch points. Subsystem ports are converted, if necessary, to the new Connection Port blocks. See Terminal Ports for the Electrical Domain of Physical Modeling and Special Conversion Blocks and Retired Version 2 Blocks.
The conversion can fail to convert and reconnect some connection lines. See Repairing Incomplete Connection Lines.
3.? ?? ???The psbupdate function changes the name of your model to _updated and saves it under this name so you can easily refer to the original model if you need to reconnect broken lines.
Starting the Conversion
The psbupdate command is easy to use. Open the model you want to convert. Then invoke the command by entering
?? ?? ???psbupdate('Name_Of_The_Model_To_Convert')
?
at the command line.
psbupdate converts every Version 2 block of your model to SimPowerSystems 3.0 blocks. It also converts any subsystem that uses Version 2 blocks. The old blocks need to be linked to powerlib2 prior to the conversion. Otherwise they are not converted. If your model contains blocks or subsystems linked to a user-defined library, you must update this library first, then update your model. Alternatively, you can break your model's link to the user-defined library, update your model, and then propagate the changes for these linked blocks to the user-defined library.
The psbupdate command ignores regular Simulink blocks or Simulink subsystems while it updates your model. Consult the Simulink documentation on working with block libraries if you need to update those portions of your model.
The new Version 3.0 blocks use the new Physical Modeling terminal ports. psbupdate deletes the Simulink signal lines connecting the old blocks and replaces them with Physical Modeling electrical connection lines, if they are needed to interconnect the new terminal ports. The replacement of Simulink lines is the most critical task of the conversion process, and the conversion sometimes fails to complete every line.
The Generated Conversion Report
The psbupdate command displays a report in the command window each time you convert a model. It reports
?? ?? ???The blocks that psbupdate failed to convert because of broken links to the block library powerlib2
?? ?? ???The Simulink signal lines that are too short to be replaced
?? ?? ???The electrical connection lines that are not properly reconnected
In addition to the report, psbupdate identifies the two kinds of connection line problems in the model:
?? ?? ???For each line that is too short to be replaced, a special problem-identifier block named Problem #1, Problem #2, etc., is added to the model at the location where the line should go.
?? ?? ???Each of the lines that psbupdate failed to reconnect is identified by a tag: unconnected line #1, unconnected line #2, etc.
[本帖最后由 hongxi_mat 于 2009-8-31 04:57 編輯]
總結(jié)
以上是生活随笔為你收集整理的matlab2008报错,simulink的.mdl的文件在matlab2008a中打开报错,高手指点下的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 相关滤波目标追踪一:鼻祖Mosse算法的
- 下一篇: Android IOS WebRTC 音