필터 지우기
필터 지우기

why do I always receive the error: Unrecognized function or variable 'Pt'.

조회 수: 1 (최근 30일)
LoCi
LoCi 2023년 1월 5일
댓글: LoCi 2023년 1월 9일
function [Cout,iter_time] = PGM_opt(Pt,Hdir,H1,H2,maxIter,Qinit,myomegaunitball,c)
  댓글 수: 17
Voss
Voss 2023년 1월 8일
@SAFA AWAD: Jan is correct; that's how you can do it in MATLAB.
An alternative would be to go into your operating system's File Explorer and create the folder, e.g., on Windows right-click and select 'New Folder' and rename it 'results'.
The point is that the folder has to exist before you try to write a pdf file in it.
Or you can change where the pdf file should go, e.g., to put in the working directory:
print('Achievable_Rate','-dpdf')
LoCi
LoCi 2023년 1월 9일
It works now, Thank You ALL for your help

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Antennas and Electromagnetic Propagation에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by