Error using slice: Too many input arguments
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
When attempting to run the example code in the documentation for the slice command in either R2020b or R2022b, I receive "Error using slice. Too many input arguments." Using the "Run in 2023b" tool for this posting it apparently completes okay. However, I do not have access to 2023b yet in my organization. Here is what I'm getting from both versions currently installed:
>> [X,Y,Z] = meshgrid(-2:.2:2);
V = X.*exp(-X.^2-Y.^2-Z.^2);
xslice = [-1.2,0.8,2];
yslice = [];
zslice = 0;
slice(X,Y,Z,V,xslice,yslice,zslice)
Error using slice
Too many input arguments.
>>
Is anyone else having this issue?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!