Hello Itzany De la cruz Salazar,
As per my understanding, the expected number of dialog parameters of 'Ozonograma_SimulinkR2020b/Arduino IO Setup' (0) does not match the number of dialog parameters specified in the MATLAB S-Function parameters dialog box
Please note that to resolve this error, you need to ensure that the number of dialog parameters specified in the MATLAB S-Function parameters dialog box matches the expected number of dialog parameters for the 'Ozonograma_SimulinkR2020b/Arduino IO Setup' function.
Here are a few steps you can follow to resolve this issue:
1. Open the MATLAB S-Function parameters dialog box for the 'Ozonograma_SimulinkR2020b/Arduino IO Setup' function.
2. Check the number of dialog parameters specified in the dialog box.
3. Compare the number of dialog parameters with the expected number mentioned in the error message (which is 3 in this case).
4. If the numbers do not match, update the dialog parameters in the dialog box to match the expected number.
5. Save the changes and rebuild your Simulink model.
Additionally, ensure that you have correctly installed and configured the Arduino IO package libraries and that the port you are using is correct. Verifying these settings can help eliminate any potential issues related to the Arduino IO setup.
I hope it helps.
Regards
Riya