Has anyone produced a MATLAB command read across? I was reviewing some MATLAB code for the approach to the proc being written for similar functionality. They used a command "deal" as a way to distribute a Matrix sizing across multiple Matrix variables at once.
-> I.e., EOM matrices of MASS, DAMPENING, And STIFFNESS are all equal size set once initial size is declared with mass being first by number of elements and then the deal function to propgate the sizing to the X, X_Dot, Etc. and other matrices as one definition line assigned to many matrix variables.
I am not a Matlab coder to know why this command "deal" even exists as it seems quite possible to do this in a couple lines or "I think" with the XX_New := copy(Matrix_basic) maple lines.
I seem to always have to find the read across when updating or using Matlab function codes with a new Maple project. I loath retaining the matlab language. Sorry MathWorks folks.
P.S., Is the maplet the only menthod to get input from a user at time of running the worksheet. the "Input" command in other languages has the built in window for user entry. I find the GetInput, InputDialog, or other via maplet a bit cumbersome and code intensive (esp. tracking the instantiation handle for the interaction. I also found the return of "list" and "symbol" to be problematic for a simple "get integer" request.