函数或变量 ‘last_act’ 无法识别。
出错 cvxprob/solve (第 354 行)
if ~found && last_solved == solved && last_act == nact,
出错 cvx_end (第 88 行)
solve( prob );
出错 rsma_sca_update (第 73 行)
cvx_end
I saw the question in the forum that it was the CVX version, but my CVX is 2.2, so I don’t know what to do, I hope people who know this can answer my confusion, thank you!!
You can try:
New MATLAB session.
Reinstalling CVX 2.2 Or try CVX 2.2.2 Announcement: CVX 2.2.2, the first "full" open-source release
Thank you very much for your reply, I will try this method
Or perhaps it’s a bug in CVX.
When I ran the code, I am getting the following error:
Undefined function or variable ‘last_act’.
Error in cvx_solve (line 315)
if ~found && last_solved == solved && last_act == nact,
Error in cvx_finish
Error in cvx_end (line 11)
evalin( ‘caller’, ‘cvx_finish’ );
Error in Scenario2_multiplesubchannelsperD2D (line 109)
cvx_end
how can I rectify it.