]> rtime.felk.cvut.cz Git - pes-rpp/rpp-simulink.git/commitdiff
doc: Minor fixes and improvements
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 13 Feb 2015 16:43:11 +0000 (17:43 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 13 Feb 2015 16:43:11 +0000 (17:43 +0100)
doc/rpp_simulink.tex

index ab287aba93696e304382f5ab0580b6715c6d3ff0..d6ce51b0948454847886bb16db0ecf31ce3c46b2 100644 (file)
@@ -1127,8 +1127,8 @@ of the blocks have to be compiled by the mex tool.
 \item Download and install Code Composer Studio CCS (see
   Section~\ref{sec-ti-ccs}).
 \item Install a C compiler. On Windows follow Section~\ref{sec-c-compiler}.
-\item On Windows you have to tell the \texttt{mex} which C compiler it
-  should use. In the Matlab command window run the \texttt{mex -setup}
+\item On Windows you have to tell the \texttt{mex} which C compiler to
+  use. In the Matlab command window run the \texttt{mex -setup}
   command and select the native C compiler.
 
 \begin{lstlisting}[basicstyle=\tt\footnotesize]
@@ -1269,15 +1269,18 @@ Section~\ref{sec-running-model-on-hw}.
        \end{figure}
        \end{compactitem}
 \end{compactitem}
-       \item Once the model is configured, you can open the Library Browser (\textsc{View $\rightarrow$ Library Browser}.) and add necessary blocks to create the model. The RPP blocks in the library browser can be found in the RPP Block Library.
+\item Once the model is configured, you can open the Library Browser
+  (\textsc{View $\rightarrow$ Library Browser}) and add the necessary
+  blocks to create the model. The RPP-specific blocks are located in
+  the RPP Block Library.
        \item From Matlab command window change the current directory to where
 you want your generated code to appear, e.g.:
 \begin{lstlisting}[language=Matlab]
 cd /tmp/my-code
 \end{lstlisting}
-  The code will be generated in a subdirectory of that directory. The name of
-the subdirectory will be \texttt{<model>\_rpp}, where \texttt{model} is the name
-of the Simulink model.
+The code will be generated in a subdirectory named
+\texttt{<model>\_rpp}, where \texttt{model} is the name of the
+Simulink model.
        \item Generate the code by choosing \textsc{Code $\rightarrow$ C/C++
 Code  $\rightarrow$ Build Model}.
 \end{enumerate}
@@ -1290,11 +1293,13 @@ If you want to run the model on the RPP board, see Section
 To run the model on the target RPP hardware you have to enable the download
 feature and build the model by following this procedure:
  \begin{enumerate}
-       \item Open the model you want to run (see Section~\ref{sec-openning-demo-models} for example with demo models.)
+ \item Open the model you want to run (see
+   Section~\ref{sec-openning-demo-models} for example with demo
+   models).
        \item Click on \textsc{Simulation$\rightarrow$Model Configuration
 Parameters}.
-       \item In the \textsc{Code Generation$\rightarrow$RPP Options} pane
-check \textsc{Download compiled binary to RPP} checkbox.
+\item In the \textsc{Code Generation$\rightarrow$RPP Options} pane
+  check the \textsc{Download compiled binary to RPP} checkbox.
        \item Click the \textsc{OK} button, connect the target HW to the computer
 like in the Section \ref{sec-ccs-run-project} and build the model by \textsc{Code $\rightarrow$ C/C++
 Code  $\rightarrow$ Build Model}. If the build