フィルターのクリア

how to generate simulink signal (data value with specific time time )

2 ビュー (過去 30 日間)
Ahmed Samy
Ahmed Samy 2016 年 10 月 18 日
i success to pull on a file inside Simulink and read a signal value but i don't know how to block or generate this value signal at specific time
function y=fcn()
fprintf('XD\n');
fifo_in = 'C:\Users\kkhalil\Desktop\matlab.ipc-master\matlab.ipc-master\fifo1.txt';
fin = fopen(fifo_in, 'r');
fprintf('reading...\n');
nData = fread(fin, 1, 'uint8=>char') ;
data = uint8(nData)-48 ;
fclose(fin);
y = uint8(data);
%

回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by