How can I create a link in Command Window for a block in a simulink model?
I found something like this:
disp('<a href="matlab:magic(4)">Generate magic square</a>')
and that is possible to use href to jump to a line in a m-file. WHat is the syntacs to jump to a given block in a model? (I know in advance the block's gcb).
Remark I am not fixed on href solution.
Using hilite_system
can use something like following :
fprintf('<a href="matlab:hilite_system(''%s'')">Jump to Block</a>\n' , gcb )