To fix a bad link, you must do one of the following: The unresolved reference block is displayed like this (colored red). Failed to find block " source-block-name".Simulink issues an error message and displays these blocks using red dashed lines. If Simulink is unable to find either the library block or the source library on your MATLAB path when it attempts to update the reference block, the link becomes unresolved. The library and reference blocks are linked by name that is, the reference block is linked to the specific block and library whose names are in effect at the time the copy is made. If the link is to a subsystem, you can modify the contents of the reference subsystem (see Modifying a Linked Subsystem). Also, you cannot set callback parameters for a reference block. You can change the values of the reference block's parameters but you cannot mask the block or, if it is masked, edit the mask. The reference block is a copy of the library block. When you copy a library block into a model or another library, Simulink creates a link to the library block. To create a link to a library block in a model, copy the block's icon from the library to the model (see Copying and Moving Blocks from One Window to Another) or by dragging the block from the Library Browser (see Browsing Block Libraries) into the model window. Working with Blocks (Using Simulink) Using Simulink
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |