Reply To: Massive MIMO Simulation – numberOfSubcarriers

#14939
Farhan
Participant

Hi Bashar,

Unfortunately the steps that were provided to you don’t seem to be
working for me.

Could you get the exact path location of where I’m supposed to run
“Coding.compileMEX” as I can’t run this command in any of the simulator
directories? Or else request more detailed steps on how to compile the
toolboxes.

`$:/usr/local/MATLAB/R2020b/toolbox/parallel$ Coding.compileMEX
Coding.compileMEX: command not found
$:/usr/local/MATLAB/R2020b/toolbox/parallel$ sudo find . -name “MEX*”
$:/usr/local/MATLAB/R2020b/toolbox/parallel$ sudo find . -name
“compileMEX*”
$:/usr/local/MATLAB/R2020b/toolbox/parallel$ cd ..
$:/usr/local/MATLAB/R2020b/toolbox$ cd ..
$:/usr/local/MATLAB/R2020b$ sudo find . -name “MEX*”
./examples/comm/main/MEXGenerationForGSMUplinkWaveformExample.mlx
./examples/comm/main/MEXGenerationForGSMDownlinkWaveformExample.mlx

./help/examples/comm/glnxa64/MEXGenerationForGSMDownlinkWaveformExample_02.png

./help/examples/comm/glnxa64/MEXGenerationForGSMDownlinkWaveformExample_01.png

./help/examples/comm/glnxa64/MEXGenerationForGSMUplinkWaveformExample_02.png

./help/examples/comm/glnxa64/MEXGenerationForGSMUplinkWaveformExample_01.png

./toolbox/simulink/core/general/+Simulink/+sfunction/+analyzer/+internal/MEXCompilationCheck.p

./toolbox/simulink/core/general/+Simulink/+sfunction/+analyzer/+internal/MEXSetupCheck.p
$:/usr/local/MATLAB/R2020b$ sudo find . -name “compileMEX*”
$:/usr/local/MATLAB/R2020b$ cd simulink/
$:/usr/local/MATLAB/R2020b/simulink$ Coding.compileMEX
Coding.compileMEX: command not found`

We are currently running GCC version 7.3.0 so this should not be in an
issue with compatibility.

$:/usr/local/MATLAB/R2020b/simulink/include$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/local/bin/gcc-7.3/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-7.3.0/configure –disable-multilib
–prefix=/usr/local/bin/gcc-7.3 –enable-shared –enable-threads=posix
–enable-__cxa_atexit –enable-clocale=gnu –enable-languages=all
Thread model: posix
gcc version 7.3.0 (GCC)

I’ve run the command in the main directory of the simulator and I’m still
getting the same error message:

*$:/usr/local/MATLAB/R2020b# Coding.compileMEXCoding.compileMEX: command
not found*

GCC 7.3 is a compatible C++ compiler which is installed on the server. Are ther any further steps on how to run this? This command doesn’t appear to be located in the main directory of the simulator on our server.

  • This reply was modified 6 months ago by Farhan.
  • This reply was modified 6 months ago by Farhan.