MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Podręcznik Użytkownika Strona 336

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 386
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 335
13 Real-Time Workshop Rapid Simulation Target
13-6
at the MATLAB prompt. Type
w = 100;
zeta = 0.5;
to set parameters. Copy a test data file by typing
!matlabroot\toolbox\rtw\rtwdemos\rsim_tfdata.mat
at the MATLAB prompt.
Be sure to specify
rsim.tlc as the system target file and rsim_default_tmf as
the template makefile. Then press the
Build buttonontheReal-Time
Workshop page to create the
rsim executable.
!rsimtfdemo
load rsimtfdemo
plot(rt_yout)
The resulting plot shows simulation results using the default input data.
Przeglądanie stron 335
1 2 ... 331 332 333 334 335 336 337 338 339 340 341 ... 385 386

Komentarze do niniejszej Instrukcji

Brak uwag