As i am controlling solenoid operated pneumatic valve along with pressure sensor and using rotary encoder as my code include calculation part, Now along with control part i want to save data or record data also so what will be better to use arduino only or have to use arduino with MATLAB simulink