哈哈,不同版本字体的问题。运行下边的命令:
bdclose all; set_param(0,'CharacterEncoding', 'ISO-8859-1')
如果不行再换一下字体。
可以参照一下命令的介绍,能够使用联机帮助,这是很关键的。
另外,不同的版本还会出现模型问题,怎样处理看下边的资料。
看看这个很清楚的:
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 编辑]