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 Center および File ExchangeArray Geometries and Analysis についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by