Export from workspace to simulink
    8 ビュー (過去 30 日間)
  
       古いコメントを表示
    
I have a honework and i dont know what kind of block is the big one .I need to bring from workspace to simulink values.
0 件のコメント
回答 (1 件)
  Renato Agurto
      
 2015 年 12 月 22 日
        
      編集済み: Renato Agurto
      
 2015 年 12 月 22 日
  
      Simulink -> sources -> constant
if you have a constant in the workspace. You just need to write the name of the variable inside the block. Or:
Simulink -> sources -> From workspace
if you want a signal. For example:
 simin.time = (1:10)';
 simin.signals.values = simin.time.^2;
0 件のコメント
参考
カテゴリ
				Help Center および File Exchange で Programmatic Model Editing についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

