Pre-allocation Warnings, how can I stop this warning?

Hi, I have this code, and is getting warnings about pre-allocation to speed up in this variables:numdia,mediasDiarias, how can I pre-allocate this 2 variables, to stop the warning, this is driving my crazy, because I hate warnings, and I tried a lot to the warning disappear

Answers (0)

This question is closed.

Products

Release

R2021b

Tags

Asked:

on 19 Nov 2022

Closed:

Jan
on 19 Nov 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!