SCALE-RT

Typical Errors during the Build Process

Top  Previous  Next

Building the real-time model is the most critical process.

Some typical errors that may be encountered during this process include the following:

'Fixed-step size' is not smaller than the smallest block sample time

'error using ==> rtwgen'

? decrease the 'Fixed-step size'

 

Tip: Ensure that the real-time target is capable of handling the step size.

 

'Block Sample Time' is not an integer multiple of the 'Fixed-step size'

? modify the 'Block Sample Time'

 

Blocks with different sample rates are connected.

Use 'Rate Transition' to connect blocks with different rates.

 

Path of MATLAB® Working directory is invalid, e.g. it contains blanks

'error using ==> genMakefileAndBuild at 1070'.

 

Correct the working directory path.