# Unrecognized function or variable 'num\_procs'

**URL:** <https://forum.dynare.org/t/unrecognized-function-or-variable-num-procs/23213>\
**Category:** Installation and Setup\
**Created:** [2 October 2023 13:32 UTC](https://forum.dynare.org/t/unrecognized-function-or-variable-num-procs/23213 "2023-10-02T13:32:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khua](https://forum.dynare.org/letter_avatar_proxy/v4/letter/k/dec6dc/32.png) [@Khua](https://forum.dynare.org/u/Khua)\
**Post date:** [2 October 2023 13:32 UTC](https://forum.dynare.org/t/unrecognized-function-or-variable-num-procs/23213/1 "2023-10-02T13:32:04Z")

</div>

Hi,

I just installed MATLAB 2023b and Dynare 5.4 on my Mac with Apple chip, but after entering ‘dynare example1.mod’, the following error message appeared:

Starting Dynare (version 5.4).  
Calling Dynare with arguments: none  
Starting preprocessing of the model file …  
Found 6 equation(s).  
Evaluating expressions…done  
Computing static model derivatives (order 1).  
Computing dynamic model derivatives (order 2).  
Processing outputs …  
done  
Preprocessing completed.

Unrecognized function or variable ‘num\_procs’.

Error in default\_option\_values (line 72)  
options\_.threads.kronecker.sparse\_hessian\_times\_B\_kronecker\_C = num\_procs;

Error in global\_initialization (line 136)  
options\_ = default\_option\_values(M\_);

Error in example1.driver (line 24)  
global\_initialization;

Error in dynare (line 278)  
evalin(‘base’,[fname ‘.driver’]);

I saw previous related issues mentioning that the solution is to install MATLAB 2023a, but on MATLAB’s official website, it states that only 2023b supports Macs with Apple chips. How do I solve this problem?

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [2 October 2023 17:56 UTC](https://forum.dynare.org/t/unrecognized-function-or-variable-num-procs/23213/2 "2023-10-02T17:56:51Z")

</div>

Please refer to [Dynare MacOS -Unrecognized function or variable 'num\_procs'](https://forum.dynare.org/t/dynare-macos-unrecognized-function-or-variable-num-procs/22679)
