How to get Matlab codes in Simulink. ?

I hav a matlab function(m file). I want to get this in Simulink to see the output in the scope. The program and its output is attached . Pls help me in getting this signal in Simulink (output should come in scope).

4 Kommentare

Walter Roberson
Walter Roberson am 3 Okt. 2015
You forgot to attach the files
Biprasish Singha
Biprasish Singha am 4 Okt. 2015
sorry. Here is the attached file
Walter Roberson
Walter Roberson am 4 Okt. 2015
What is the difference between this question and your earlier http://uk.mathworks.com/matlabcentral/answers/246095-how-to-get-matlab-codes-into-simulink ?
Biprasish Singha
Biprasish Singha am 5 Okt. 2015
Bearbeitet: Biprasish Singha am 5 Okt. 2015
Actually, its the same. Only thing I have added the codes here. Moreover, I have studied those links what you have given me and also tried to implement in my program, but still getting errors. I just need the pulse which is in the matlab graph to be shown in the Simulink Scope.

Antworten (1)

Walter Roberson
Walter Roberson am 3 Okt. 2015

0 Stimmen

You can use a MATLAB Function Block

Diese Frage ist geschlossen.

Tags

Noch keine Tags eingegeben.

Gefragt:

am 3 Okt. 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by