Setting a Maple matrix in MATLAB®.
>
|
|
>
|
|
The existence of the matrix in MATLAB® is now checked.
>
|
|
Note here that the matrix defined in Maple is not defined in MATLAB®
>
|
|
This example assumes that a MATLAB® function has been saved in the file example.m
% multiply the input value x by the global variable y
|
function ret=example(x)
|
global y
|
ret=x*y;
|
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|