필터 지우기
필터 지우기

Plotcube function not working

조회 수: 8 (최근 30일)
Morgan
Morgan 2023년 7월 19일
댓글: Harsh Kumar 2023년 7월 19일
I am trying to use the plotcube function but keep reciveing the error "unrecognized function or variable 'plotcube' ". What am I doing incorrectly?
plotcube([5 5 5],[ 2 2 2],.8,[1 0 0]);
  댓글 수: 1
Harsh Kumar
Harsh Kumar 2023년 7월 19일
Hi @Morgan, updated the answer for easy readiblity .

댓글을 달려면 로그인하십시오.

채택된 답변

Harsh Kumar
Harsh Kumar 2023년 7월 19일
편집: Harsh Kumar 2023년 7월 19일
Hi Morgan ,
I understand that you are facing an issue with the compilation of 'plotcube' function .
The error message you are getting is because the 'plotcube' function is not built-in to MATLAB. You need to download the function from the MATLAB Central File Exchange and add it to your MATLAB path to use it.
You can refer the below given steps and output for your reference :
  1. Download it from here https://in.mathworks.com/matlabcentral/fileexchange/15161-plotcube#version_history_tab).
  2. Click on the "Download" button.
  3. Add the function to your MATLAB path(add the downloaded folder to the path by clicking to 'Setpath' near 'prefrences' in the 'Home' section of MATLAB) .Refer attached image please .
  4. Also to test , you can directly the .m file now provided in the downloaded folder.
  5. Restart MATLAB.
OUTPUT :

추가 답변 (1개)

Les Beckham
Les Beckham 2023년 7월 19일

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by