create a custom parametric signal
1 回表示 (過去 30 日間)
古いコメントを表示
I have to create a signal input that is parametric, from t= 0 to t= 100 , where the signal is a ramp at the start , constant after 40 seconds and another decreasing ramp after that. I need to pass this signal to a transfter funciton in order to analyse the response. how would I go about doing this ? I made a matlab script to generate the data points into a vector and then imported the vector to simulink using to workspace command but then I got an error about the vector dimension.
Is there an intuitive way to solve this problem?
thank you
0 件のコメント
回答 (1 件)
Shivansh
2022 年 11 月 2 日
To my understanding you are trying to import data from Matlab workspace to Simulink using “to workspace” block.
Instead of using “To workspace” block you should use “From workspace” block to use data from Matlab Workspace. Kindly refer to the documentation of “From workspace” block which is attached below for better understanding-
You can refer to the documentation attached below to look for the different ways in which you can load signal for simulation-
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!